We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 638fb06 commit 5033d9fCopy full SHA for 5033d9f
tests/runner.py
@@ -133,9 +133,10 @@ def get_default_pattern(loader):
133
print(files)
134
cases = []
135
for test_module in tests_path.rglob("test_*py"):
136
- case_str = str(test_module.relative_to(tests_path).as_posix()).replace("/", ".")[:-3]
137
- if case_str in files:
138
- cases.append(f"tests.{case_str}")
+ test_file = str(test_module.relative_to(tests_path).as_posix())
+ case_str = test_file.replace("/", ".")[:-3]
+ if test_file in files:
139
+ cases.append(case_str)
140
else:
141
print(f"monai test runner: excluding {test_module.name}")
142
print(cases)
0 commit comments