MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_keyword_option_considers_mark

Function test_keyword_option_considers_mark

testing/test_mark.py:300–304  ·  view source on GitHub ↗
(pytester: Pytester)

Source from the content-addressed store, hash-verified

298
299
300def test_keyword_option_considers_mark(pytester: Pytester) -> None:
301 pytester.copy_example("marks/marks_considered_keywords")
302 rec = pytester.inline_run("-k", "foo")
303 passed = rec.listoutcomes()[0]
304 assert len(passed) == 1
305
306
307@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 3

listoutcomesMethod · 0.80
copy_exampleMethod · 0.45
inline_runMethod · 0.45

Tested by

no test coverage detected