(pytester: Pytester)
| 129 | |
| 130 | |
| 131 | def test_doubledash_considered(pytester: Pytester) -> None: |
| 132 | conf = pytester.mkdir("--option") |
| 133 | conf.joinpath("conftest.py").touch() |
| 134 | conftest = PytestPluginManager() |
| 135 | conftest_setinitial(conftest, [conf.name, conf.name]) |
| 136 | values = conftest._getconftestmodules( |
| 137 | conf, importmode="prepend", rootpath=pytester.path |
| 138 | ) |
| 139 | assert len(values) == 1 |
| 140 | |
| 141 | |
| 142 | def test_issue151_load_all_conftests(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected