MCPcopy
hub / github.com/django/django / test_time_recorded

Method test_time_recorded

tests/test_runner/tests.py:472–480  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

470 call_command("test", "sites", testrunner="test_runner.NonexistentRunner")
471
472 def test_time_recorded(self):
473 with captured_stderr() as stderr:
474 call_command(
475 "test",
476 "--timing",
477 "sites",
478 testrunner="test_runner.tests.MockTestRunner",
479 )
480 self.assertIn("Total run took", stderr.getvalue())
481
482 def test_durations(self):
483 with captured_stderr() as stderr:

Callers

nothing calls this directly

Calls 3

captured_stderrFunction · 0.90
call_commandFunction · 0.90
getvalueMethod · 0.45

Tested by

no test coverage detected