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

Method test_show_fixtures_verbose

testing/python/fixtures.py:3356–3365  ·  view source on GitHub ↗
(self, pytester: Pytester)

Source from the content-addressed store, hash-verified

3354 )
3355
3356 def test_show_fixtures_verbose(self, pytester: Pytester) -> None:
3357 result = pytester.runpytest("--fixtures", "-v")
3358 result.stdout.fnmatch_lines(
3359 [
3360 "tmp_path_factory [[]session scope[]] -- .../_pytest/tmpdir.py:*",
3361 "*for the test session*",
3362 "tmp_path -- .../_pytest/tmpdir.py:*",
3363 "*temporary directory*",
3364 ]
3365 )
3366
3367 def test_show_fixtures_testmodule(self, pytester: Pytester) -> None:
3368 p = pytester.makepyfile(

Callers

nothing calls this directly

Calls 2

fnmatch_linesMethod · 0.80
runpytestMethod · 0.45

Tested by

no test coverage detected