An empty pyproject.toml is considered as config if no other option is found.
(self, pytester: Pytester)
| 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.""" |
| 180 | pyproject_toml = pytester.makepyprojecttoml("") |
| 181 | config = pytester.parseconfig() |
| 182 | assert config.inipath == pyproject_toml |
| 183 | |
| 184 | def test_empty_pyproject_toml_found_many(self, pytester: Pytester) -> None: |
| 185 | """ |
nothing calls this directly
no test coverage detected