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

Method check_config_args

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

Source from the content-addressed store, hash-verified

694 self.check_config_args(pytester)
695
696 def check_config_args(self, pytester: Pytester) -> None:
697 config = pytester.parseconfig()
698 values = config.getini("args")
699 assert values == ["123", "123 hello", "this"]
700 values = config.getini("a2")
701 assert values == list("123")
702
703 def make_conftest_for_linelist(self, pytester: Pytester) -> None:
704 pytester.makeconftest(

Calls 2

parseconfigMethod · 0.45
getiniMethod · 0.45

Tested by

no test coverage detected