(self, pytester: Pytester, name, section)
| 115 | [("tool:pytest", "setup.cfg"), ("pytest", "tox.ini"), ("pytest", "pytest.ini")], |
| 116 | ) |
| 117 | def test_ini_names(self, pytester: Pytester, name, section) -> None: |
| 118 | pytester.path.joinpath(name).write_text( |
| 119 | textwrap.dedent( |
| 120 | """ |
| 121 | [{section}] |
| 122 | minversion = 1.0 |
| 123 | """.format( |
| 124 | section=section |
| 125 | ) |
| 126 | ) |
| 127 | ) |
| 128 | config = pytester.parseconfig() |
| 129 | assert config.getini("minversion") == "1.0" |
| 130 | |
| 131 | def test_pyproject_toml(self, pytester: Pytester) -> None: |
| 132 | pytester.makepyprojecttoml( |
nothing calls this directly
no test coverage detected