MCPcopy
hub / github.com/django/django / test_bad_test_runner

Method test_bad_test_runner

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

Source from the content-addressed store, hash-verified

466 MockTestRunner.run_tests.assert_called_with(("sites",))
467
468 def test_bad_test_runner(self):
469 with self.assertRaises(AttributeError):
470 call_command("test", "sites", testrunner="test_runner.NonexistentRunner")
471
472 def test_time_recorded(self):
473 with captured_stderr() as stderr:

Callers

nothing calls this directly

Calls 1

call_commandFunction · 0.90

Tested by

no test coverage detected