[pytest] section in pytest.ini files is read correctly
(self, tmp_path: Path)
| 16 | assert load_config_dict_from_file(fn) == {} |
| 17 | |
| 18 | def test_pytest_ini(self, tmp_path: Path) -> None: |
| 19 | """[pytest] section in pytest.ini files is read correctly""" |
| 20 | fn = tmp_path / "pytest.ini" |
| 21 | fn.write_text("[pytest]\nx=1", encoding="utf-8") |
| 22 | assert load_config_dict_from_file(fn) == {"x": "1"} |
| 23 | |
| 24 | def test_custom_ini(self, tmp_path: Path) -> None: |
| 25 | """[pytest] section in any .ini file is read correctly""" |
nothing calls this directly
no test coverage detected