Defined available_apps in relevant tests.

Fixed #20483.
This commit is contained in:
Aymeric Augustin 2013-06-04 08:09:29 +02:00
parent 4daf570b98
commit c6e6d4eeb7
26 changed files with 142 additions and 2 deletions

View file

@ -1474,6 +1474,13 @@ class ArgumentOrder(AdminScriptTestCase):
class StartProject(LiveServerTestCase, AdminScriptTestCase):
available_apps = [
'admin_scripts',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
]
def test_wrong_args(self):
"Make sure passing the wrong kinds of arguments raises a CommandError"
out, err = self.run_django_admin(['startproject'])