(self, path1: Path, ns_param: bool)
| 253 | assert m.__name__ == class="st">"hello_123" |
| 254 | |
| 255 | def test_a(self, path1: Path, ns_param: bool) -> None: |
| 256 | otherdir = path1 / class="st">"otherdir" |
| 257 | mod = import_path( |
| 258 | otherdir / class="st">"a.py", root=path1, consider_namespace_packages=ns_param |
| 259 | ) |
| 260 | assert mod.result == class="st">"got it" |
| 261 | assert mod.__name__ == class="st">"otherdir.a" |
| 262 | |
| 263 | def test_b(self, path1: Path, ns_param: bool) -> None: |
| 264 | otherdir = path1 / class="st">"otherdir" |
nothing calls this directly
no test coverage detected