(pytester: Pytester)
| 207 | |
| 208 | |
| 209 | def test_conftestcutdir_inplace_considered(pytester: Pytester) -> None: |
| 210 | conf = pytester.makeconftest("") |
| 211 | conftest = PytestPluginManager() |
| 212 | conftest_setinitial(conftest, [conf.parent], confcutdir=conf.parent) |
| 213 | values = conftest._getconftestmodules( |
| 214 | conf.parent, importmode="prepend", rootpath=pytester.path |
| 215 | ) |
| 216 | assert len(values) == 1 |
| 217 | assert values[0].__file__.startswith(str(conf)) |
| 218 | |
| 219 | |
| 220 | @pytest.mark.parametrize("name", "test tests whatever .dotdir".split()) |
nothing calls this directly
no test coverage detected