File: test_plugin.py

package info (click to toggle)
python-pytest-click 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 168 kB
  • sloc: python: 111; sh: 6; makefile: 2
file content (6 lines) | stat: -rw-r--r-- 228 bytes parent folder | download
1
2
3
4
5
6
def test_markers(testdir):
    result = testdir.runpytest("--markers")
    assert (
        "@pytest.mark.runner_setup(**kwargs): "
        "Pass kwargs to `click.testing.CliRunner` initialization." in result.stdout.lines
    )