(pytester: Pytester)
| 86 | |
| 87 | |
| 88 | def test_markers_option(pytester: Pytester) -> None: |
| 89 | pytester.makeini( |
| 90 | """ |
| 91 | [pytest] |
| 92 | markers = |
| 93 | a1: this is a webtest marker |
| 94 | a1some: another marker |
| 95 | nodescription |
| 96 | """ |
| 97 | ) |
| 98 | result = pytester.runpytest("--markers") |
| 99 | result.stdout.fnmatch_lines( |
| 100 | ["*a1*this is a webtest*", "*a1some*another marker", "*nodescription*"] |
| 101 | ) |
| 102 | |
| 103 | |
| 104 | def test_ini_markers_whitespace(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected