no settings: manage.py builtin commands fail if settings file (from argument) doesn't exist.
(self)
| 878 | ) |
| 879 | |
| 880 | def test_builtin_with_bad_settings(self): |
| 881 | """ |
| 882 | no settings: manage.py builtin commands fail if settings file (from |
| 883 | argument) doesn't exist. |
| 884 | """ |
| 885 | args = ["check", "--settings=bad_settings", "admin_scripts"] |
| 886 | out, err = self.run_manage(args) |
| 887 | self.assertNoOutput(out) |
| 888 | self.assertOutput(err, "No module named '?bad_settings'?", regex=True) |
| 889 | |
| 890 | def test_builtin_with_bad_environment(self): |
| 891 | """ |
nothing calls this directly
no test coverage detected