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

Method test_addini_args_pyproject_toml

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

Source from the content-addressed store, hash-verified

684 self.check_config_args(pytester)
685
686 def test_addini_args_pyproject_toml(self, pytester: Pytester) -> None:
687 self.make_conftest_for_args(pytester)
688 pytester.makepyprojecttoml(
689 """
690 [tool.pytest.ini_options]
691 args = ["123", "123 hello", "this"]
692 """
693 )
694 self.check_config_args(pytester)
695
696 def check_config_args(self, pytester: Pytester) -> None:
697 config = pytester.parseconfig()

Callers

nothing calls this directly

Calls 3

check_config_argsMethod · 0.95
makepyprojecttomlMethod · 0.45

Tested by

no test coverage detected