Follow symbolic links during searching for the unit test suites // Resolve #4288

This commit is contained in:
Ivan Kravets committed 2022-05-26 19:18:21 +03:00
1 parent 460a983ab2
commit 73dd29c59c
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ def list_test_names(project_config):
if not os.path.isdir(test_dir):
raise TestDirNotExistsError(test_dir)
names = []
for root, _, __ in os.walk(test_dir):
for root, _, __ in os.walk(test_dir, followlinks=True):
if not os.path.basename(root).startswith("test_"):
continue
names.append(os.path.relpath(root, test_dir).replace("\\", "/"))