(pytester: Pytester, pytestconfig, monkeypatch)
| 13 | |
| 14 | |
| 15 | def test_version_less_verbose(pytester: Pytester, pytestconfig, monkeypatch) -> None: |
| 16 | monkeypatch.delenv("PYTEST_DISABLE_PLUGIN_AUTOLOAD") |
| 17 | result = pytester.runpytest("--version") |
| 18 | assert result.ret == 0 |
| 19 | result.stdout.fnmatch_lines([f"pytest {pytest.__version__}"]) |
| 20 | |
| 21 | |
| 22 | def test_versions(): |
nothing calls this directly
no test coverage detected