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

Method test_no_summary

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

Source from the content-addressed store, hash-verified

912 result.stdout.no_fnmatch_line("rootdir: *test_header0, inifile: tox.ini")
913
914 def test_no_summary(self, pytester: Pytester) -> None:
915 p1 = pytester.makepyfile(
916 """
917 def test_no_summary():
918 assert false
919 """
920 )
921 result = pytester.runpytest(p1, "--no-summary")
922 result.stdout.no_fnmatch_line("*= FAILURES =*")
923
924 def test_showlocals(self, pytester: Pytester) -> None:
925 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