(self, pytester: Pytester)
| 856 | |
| 857 | @pytest.mark.xfail |
| 858 | def test_keyword_extra_dash(self, pytester: Pytester) -> None: |
| 859 | p = pytester.makepyfile( |
| 860 | """ |
| 861 | def test_one(): |
| 862 | assert 0 |
| 863 | test_one.mykeyword = True |
| 864 | """ |
| 865 | ) |
| 866 | # with argparse the argument to an option cannot |
| 867 | # start with '-' |
| 868 | reprec = pytester.inline_run("-k", "-mykeyword", p) |
| 869 | passed, skipped, failed = reprec.countoutcomes() |
| 870 | assert passed + skipped + failed == 0 |
| 871 | |
| 872 | @pytest.mark.parametrize( |
| 873 | "keyword", |
nothing calls this directly
no test coverage detected