(self, path1: Path, ns_param: bool)
| 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" |
| 265 | mod = import_path( |
| 266 | otherdir / class="st">"b.py", root=path1, consider_namespace_packages=ns_param |
| 267 | ) |
| 268 | assert mod.stuff == class="st">"got it" |
| 269 | assert mod.__name__ == class="st">"otherdir.b" |
| 270 | |
| 271 | def test_c(self, path1: Path, ns_param: bool) -> None: |
| 272 | otherdir = path1 / class="st">"otherdir" |
nothing calls this directly
no test coverage detected