(self)
| 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: |
nothing calls this directly
no test coverage detected