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

Function test_plugin_already_exists

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

Source from the content-addressed store, hash-verified

257
258
259def test_plugin_already_exists(pytester: Pytester) -> None:
260 config = pytester.parseconfig("-p", "terminal")
261 assert config.option.plugins == ["terminal"]
262 config._do_configure()
263 config._ensure_unconfigure()
264
265
266def test_exclude(pytester: Pytester) -> None:

Callers

nothing calls this directly

Calls 3

_do_configureMethod · 0.80
_ensure_unconfigureMethod · 0.80
parseconfigMethod · 0.45

Tested by

no test coverage detected