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

Method test_calls_showall_durationsmin

testing/acceptance_test.py:987–991  ·  view source on GitHub ↗
(self, pytester: Pytester, mock_timing)

Source from the content-addressed store, hash-verified

985 TestDurations.check_tests_in_output(result.stdout.lines, 1, 2, 3)
986
987 def test_calls_showall_durationsmin(self, pytester: Pytester, mock_timing) -> None:
988 pytester.makepyfile(self.source)
989 result = pytester.runpytest_inprocess("--durations=0", "--durations-min=0.015")
990 assert result.ret == 0
991 TestDurations.check_tests_in_output(result.stdout.lines, 3)
992
993 def test_calls_showall_durationsmin_verbose(
994 self, pytester: Pytester, mock_timing

Callers

nothing calls this directly

Calls 3

check_tests_in_outputMethod · 0.80
makepyfileMethod · 0.45
runpytest_inprocessMethod · 0.45

Tested by

no test coverage detected