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