From c6e6d4eeb776c473567362405cdbc6a0328eb194 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Tue, 4 Jun 2013 08:09:29 +0200 Subject: Defined available_apps in relevant tests. Fixed #20483. --- tests/admin_scripts/tests.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/admin_scripts') diff --git a/tests/admin_scripts/tests.py b/tests/admin_scripts/tests.py index df8a8becf6..2f399acb23 100644 --- a/tests/admin_scripts/tests.py +++ b/tests/admin_scripts/tests.py @@ -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']) -- cgit v1.3