MCPcopy
hub / github.com/pytest-dev/pytest / check_config_args

Method check_config_args

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

Source from the content-addressed store, hash-verified

925 self.check_config_args(pytester)
926
927 def check_config_args(self, pytester: Pytester) -> None:
928 config = pytester.parseconfig()
929 values = config.getini("args")
930 assert values == ["123", "123 hello", "this"]
931 values = config.getini("a2")
932 assert values == list("123")
933
934 def make_conftest_for_linelist(self, pytester: Pytester) -> None:
935 pytester.makeconftest(

Calls 2

parseconfigMethod · 0.45
getiniMethod · 0.45

Tested by

no test coverage detected