(tests, *, testdir: StrPath | None = None,
exclude: Container[str] = (),
split_test_dirs=SPLITTESTDIRS)
| 64 | |
| 65 | |
| 66 | def split_test_packages(tests, *, testdir: StrPath | None = None, |
| 67 | exclude: Container[str] = (), |
| 68 | split_test_dirs=SPLITTESTDIRS) -> list[TestName]: |
| 69 | testdir = findtestdir(testdir) |
| 70 | splitted = [] |
| 71 | for name in tests: |
| 72 | if name in split_test_dirs: |
| 73 | subdir = os.path.join(testdir, name) |
| 74 | splitted.extend(findtests(testdir=subdir, exclude=exclude, |
| 75 | split_test_dirs=split_test_dirs, |
| 76 | base_mod=name)) |
| 77 | else: |
| 78 | splitted.append(name) |
| 79 | return splitted |
| 80 | |
| 81 | |
| 82 | def _list_cases(suite: unittest.TestSuite) -> None: |
no test coverage detected
searching dependent graphs…