MCPcopy
hub / github.com/pytest-dev/pytest / test_no_summary

Method test_no_summary

testing/test_terminal.py:1008–1016  ·  view source on GitHub ↗
(self, pytester: Pytester)

Source from the content-addressed store, hash-verified

1006 result.stdout.no_fnmatch_line("rootdir: *test_header0, inifile: tox.ini")
1007
1008 def test_no_summary(self, pytester: Pytester) -> None:
1009 p1 = pytester.makepyfile(
1010 """
1011 def test_no_summary():
1012 assert false
1013 """
1014 )
1015 result = pytester.runpytest(p1, "--no-summary")
1016 result.stdout.no_fnmatch_line("*= FAILURES =*")
1017
1018 def test_showlocals(self, pytester: Pytester) -> None:
1019 p1 = pytester.makepyfile(

Callers

nothing calls this directly

Calls 3

no_fnmatch_lineMethod · 0.80
makepyfileMethod · 0.45
runpytestMethod · 0.45

Tested by

no test coverage detected