MCPcopy
hub / github.com/django/django / test_custom_test_runner

Method test_custom_test_runner

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

Source from the content-addressed store, hash-verified

462
463class ManageCommandTests(unittest.TestCase):
464 def test_custom_test_runner(self):
465 call_command("test", "sites", testrunner="test_runner.tests.MockTestRunner")
466 MockTestRunner.run_tests.assert_called_with(("sites",))
467
468 def test_bad_test_runner(self):
469 with self.assertRaises(AttributeError):

Callers

nothing calls this directly

Calls 1

call_commandFunction · 0.90

Tested by

no test coverage detected