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

Method test_verbose_exposes_value

testing/test_assertion.py:68–71  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

66 SOME_OTHER_VERBOSITY_LEVEL = 10
67
68 def test_verbose_exposes_value(self):
69 config = mock_config(verbose=TestMockConfig.SOME_VERBOSITY_LEVEL)
70
71 assert config.get_verbosity() == TestMockConfig.SOME_VERBOSITY_LEVEL
72
73 def test_get_assertion_override_not_set_verbose_value(self):
74 config = mock_config(verbose=TestMockConfig.SOME_VERBOSITY_LEVEL)

Callers

nothing calls this directly

Calls 2

mock_configFunction · 0.85
get_verbosityMethod · 0.45

Tested by

no test coverage detected