MCPcopy
hub / github.com/tox-dev/tox / test_version_with_inline_plugin

Function test_version_with_inline_plugin

tests/test_version.py:56–65  ·  view source on GitHub ↗
(tox_project: ToxProjectCreator)

Source from the content-addressed store, hash-verified

54
55@pytest.mark.plugin_test
56def test_version_with_inline_plugin(tox_project: ToxProjectCreator) -> None:
57 def plugin() -> None: # pragma: no cover
58 pass
59
60 project = tox_project({"tox.ini": "", "toxfile.py": plugin})
61 outcome = project.run("--version")
62 outcome.assert_success()
63 assert __version__ in outcome.out
64 assert "inline plugin:" in outcome.out
65 assert "toxfile.py" in outcome.out
66
67
68@pytest.mark.plugin_test

Callers

nothing calls this directly

Calls 2

runMethod · 0.45
assert_successMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…