(tox_project: ToxProjectCreator)
| 54 | |
| 55 | @pytest.mark.plugin_test |
| 56 | def 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 |
nothing calls this directly
no test coverage detected
searching dependent graphs…