mirror of
https://github.com/django/django.git
synced 2025-08-31 15:57:45 +00:00
Fixed spelling of "nonexistent".
This commit is contained in:
parent
a21ec12409
commit
29f607927f
47 changed files with 141 additions and 114 deletions
|
@ -772,9 +772,7 @@ class MakeMigrationsTests(MigrationTestBase):
|
|||
self.assertIn("No conflicts detected to merge.", out.getvalue())
|
||||
|
||||
def test_makemigrations_no_app_sys_exit(self):
|
||||
"""
|
||||
makemigrations exits if a non-existent app is specified.
|
||||
"""
|
||||
"""makemigrations exits if a nonexistent app is specified."""
|
||||
err = io.StringIO()
|
||||
with self.assertRaises(SystemExit):
|
||||
call_command("makemigrations", "this_app_does_not_exist", stderr=err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue