From f1743da2676d442b1877f856e91f7553401773e7 Mon Sep 17 00:00:00 2001 From: arturo-seijas Date: Wed, 3 Jan 2024 10:21:43 +0100 Subject: [PATCH] Print warning instead of error when a test module is not found --- interface_tester/collector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface_tester/collector.py b/interface_tester/collector.py index 71089e0..ba8f893 100644 --- a/interface_tester/collector.py +++ b/interface_tester/collector.py @@ -222,7 +222,7 @@ def _gather_test_cases_for_version(version_dir: Path, interface_name: str, versi try: module = importlib.import_module(module_name) except ImportError as e: - logger.error("Failed to load module %s: %s" % (module_name, e)) + logger.warning("Failed to load module %s: %s" % (module_name, e)) continue tests = _scrape_module_for_tests(module)