(self, pytester: Pytester)
| 165 | assert config.getini("minversion") == "3.36" |
| 166 | |
| 167 | def test_pyproject_toml(self, pytester: Pytester) -> None: |
| 168 | pyproject_toml = pytester.makepyprojecttoml( |
| 169 | """ |
| 170 | [tool.pytest.ini_options] |
| 171 | minversion = "1.0" |
| 172 | """ |
| 173 | ) |
| 174 | config = pytester.parseconfig() |
| 175 | assert config.inipath == pyproject_toml |
| 176 | assert config.getini("minversion") == "1.0" |
| 177 | |
| 178 | def test_empty_pyproject_toml(self, pytester: Pytester) -> None: |
| 179 | """An empty pyproject.toml is considered as config if no other option is found.""" |
nothing calls this directly
no test coverage detected