Check conftest.py whose qualified name contains uppercase characters (#5819)
(pytester: Pytester)
| 343 | |
| 344 | |
| 345 | def test_conftest_uppercase(pytester: Pytester) -> None: |
| 346 | """Check conftest.py whose qualified name contains uppercase characters (#5819)""" |
| 347 | source = {"__init__.py": "", "Foo/conftest.py": "", "Foo/__init__.py": ""} |
| 348 | pytester.makepyfile(**source) |
| 349 | |
| 350 | os.chdir(pytester.path) |
| 351 | result = pytester.runpytest() |
| 352 | assert result.ret == ExitCode.NO_TESTS_COLLECTED |
| 353 | |
| 354 | |
| 355 | def test_no_conftest(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected