MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_pyproject_toml

Method test_pyproject_toml

testing/test_config.py:131–139  ·  view source on GitHub ↗
(self, pytester: Pytester)

Source from the content-addressed store, hash-verified

129 assert config.getini("minversion") == "1.0"
130
131 def test_pyproject_toml(self, pytester: Pytester) -> None:
132 pytester.makepyprojecttoml(
133 """
134 [tool.pytest.ini_options]
135 minversion = "1.0"
136 """
137 )
138 config = pytester.parseconfig()
139 assert config.getini("minversion") == "1.0"
140
141 def test_toxini_before_lower_pytestini(self, pytester: Pytester) -> None:
142 sub = pytester.mkdir("sub")

Callers

nothing calls this directly

Calls 3

makepyprojecttomlMethod · 0.45
parseconfigMethod · 0.45
getiniMethod · 0.45

Tested by

no test coverage detected