MCPcopy Index your code
hub / github.com/pytest-dev/pytest / test_addini_args_pyproject_toml

Method test_addini_args_pyproject_toml

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

Source from the content-addressed store, hash-verified

915 self.check_config_args(pytester)
916
917 def test_addini_args_pyproject_toml(self, pytester: Pytester) -> None:
918 self.make_conftest_for_args(pytester)
919 pytester.makepyprojecttoml(
920 """
921 [tool.pytest.ini_options]
922 args = ["123", "123 hello", "this"]
923 """
924 )
925 self.check_config_args(pytester)
926
927 def check_config_args(self, pytester: Pytester) -> None:
928 config = pytester.parseconfig()

Callers

nothing calls this directly

Calls 3

check_config_argsMethod · 0.95
makepyprojecttomlMethod · 0.45

Tested by

no test coverage detected