mirror of
https://github.com/django/django.git
synced 2025-08-30 23:37:50 +00:00
parent
4daf570b98
commit
c6e6d4eeb7
26 changed files with 142 additions and 2 deletions
|
@ -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'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue