(pytester: Pytester)
| 239 | |
| 240 | |
| 241 | def test_conftestcutdir_inplace_considered(pytester: Pytester) -> None: |
| 242 | conf = pytester.makeconftest("") |
| 243 | conftest = PytestPluginManager() |
| 244 | conftest_setinitial(conftest, [conf.parent], confcutdir=conf.parent) |
| 245 | values = conftest._getconftestmodules(conf.parent) |
| 246 | assert len(values) == 1 |
| 247 | assert values[0].__file__ is not None |
| 248 | assert values[0].__file__.startswith(str(conf)) |
| 249 | |
| 250 | |
| 251 | @pytest.mark.parametrize("name", "test tests whatever .dotdir".split()) |
nothing calls this directly
no test coverage detected