no settings: manage.py builtin commands fail with an error when no settings provided.
(self)
| 866 | "A series of tests for manage.py when there is no settings.py file." |
| 867 | |
| 868 | def test_builtin_command(self): |
| 869 | """ |
| 870 | no settings: manage.py builtin commands fail with an error when no |
| 871 | settings provided. |
| 872 | """ |
| 873 | args = ["check", "admin_scripts"] |
| 874 | out, err = self.run_manage(args) |
| 875 | self.assertNoOutput(out) |
| 876 | self.assertOutput( |
| 877 | err, r"No module named '?(test_project\.)?settings'?", regex=True |
| 878 | ) |
| 879 | |
| 880 | def test_builtin_with_bad_settings(self): |
| 881 | """ |
nothing calls this directly
no test coverage detected