diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-06-04 08:09:29 +0200 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-06-10 11:30:01 +0200 |
| commit | c6e6d4eeb776c473567362405cdbc6a0328eb194 (patch) | |
| tree | c55be28ca7d228717c286d6b14cd27fda89a1d9a /tests/admin_scripts | |
| parent | 4daf570b98cc840e1a154f3876bc7463924cb9ae (diff) | |
Defined available_apps in relevant tests.
Fixed #20483.
Diffstat (limited to 'tests/admin_scripts')
| -rw-r--r-- | tests/admin_scripts/tests.py | 7 |
1 files changed, 7 insertions, 0 deletions
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']) |
