From 2f1f86abe85cc337638cedac74e5a9ae1a8d801d Mon Sep 17 00:00:00 2001 From: Juliya Smith Date: Thu, 12 Dec 2024 12:48:02 -0600 Subject: [PATCH] fix: loglevel --- tests/functional/test_cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/functional/test_cli.py b/tests/functional/test_cli.py index 5e8e75ad6c..7d1087c98b 100644 --- a/tests/functional/test_cli.py +++ b/tests/functional/test_cli.py @@ -585,7 +585,8 @@ def test_contract_file_paths_argument_missing_solidity( pm = project_with_source_files_contract with pm.isolate_in_tempdir() as tmp_project: arguments = (name, "--project", f"{tmp_project.path}") - result = runner.invoke(contracts_paths_cmd, arguments) + with logger.at_level(LogLevel.WARNING): + result = runner.invoke(contracts_paths_cmd, arguments) expected = ( "Missing compilers for the following file types: '.sol'. "