Skip to content

Commit

Permalink
Merge pull request #11 from arturo-seijas/print-warning-when-test-mod…
Browse files Browse the repository at this point in the history
…ule-not-found

Print warning instead of error when a test module is not found
  • Loading branch information
PietroPasotti authored Jan 3, 2024
2 parents afcc676 + f1743da commit 75232b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interface_tester/collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 75232b2

Please sign in to comment.