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

Function test_plugin_specify

testing/test_session.py:251–256  ·  view source on GitHub ↗
(pytester: Pytester)

Source from the content-addressed store, hash-verified

249
250
251def test_plugin_specify(pytester: Pytester) -> None:
252 with pytest.raises(ImportError):
253 pytester.parseconfig("-p", "nqweotexistent")
254 # pytest.raises(ImportError,
255 # "config.do_configure(config)"
256 # )
257
258
259def test_plugin_already_exists(pytester: Pytester) -> None:

Callers

nothing calls this directly

Calls 1

parseconfigMethod · 0.45

Tested by

no test coverage detected