(pytester: Pytester)
| 1128 | |
| 1129 | |
| 1130 | def test_cmdline_processargs_simple(pytester: Pytester) -> None: |
| 1131 | pytester.makeconftest( |
| 1132 | """ |
| 1133 | def pytest_cmdline_preparse(args): |
| 1134 | args.append("-h") |
| 1135 | """ |
| 1136 | ) |
| 1137 | result = pytester.runpytest() |
| 1138 | result.stdout.fnmatch_lines(["*pytest*", "*-h*"]) |
| 1139 | |
| 1140 | |
| 1141 | def test_invalid_options_show_extra_information(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected