no settings: django-admin builtin commands fail with an error when no settings provided.
(self)
| 221 | "A series of tests for django-admin when there is no settings.py file." |
| 222 | |
| 223 | def test_builtin_command(self): |
| 224 | """ |
| 225 | no settings: django-admin builtin commands fail with an error when no |
| 226 | settings provided. |
| 227 | """ |
| 228 | args = ["check", "admin_scripts"] |
| 229 | out, err = self.run_django_admin(args) |
| 230 | self.assertNoOutput(out) |
| 231 | self.assertOutput(err, "settings are not configured") |
| 232 | |
| 233 | def test_builtin_with_bad_settings(self): |
| 234 | """ |
nothing calls this directly
no test coverage detected