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

Method test_getini_unsupported_error

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

Source from the content-addressed store, hash-verified

96 config.get_verbosity("--- NOT A VERBOSITY LEVEL ---")
97
98 def test_getini_unsupported_error(self):
99 config = mock_config()
100
101 with pytest.raises(KeyError, match="Not mocked out: --- NOT AN INI ---"):
102 config.getini("--- NOT AN INI ---")
103
104
105class TestImportHookInstallation:

Callers

nothing calls this directly

Calls 2

mock_configFunction · 0.85
getiniMethod · 0.45

Tested by

no test coverage detected