An unknown command raises CommandError
(self)
| 82 | self.assertEqual(translation.get_language(), "fr") |
| 83 | |
| 84 | def test_explode(self): |
| 85 | """An unknown command raises CommandError""" |
| 86 | with self.assertRaisesMessage(CommandError, "Unknown command: 'explode'"): |
| 87 | management.call_command(("explode",)) |
| 88 | |
| 89 | def test_system_exit(self): |
| 90 | """Exception raised in a command should raise CommandError with |
nothing calls this directly
no test coverage detected