mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed many typos in comments and docstrings.
Thanks Piotr Kasprzyk for help with the patch.
This commit is contained in:
committed by
Tim Graham
parent
6acaa52386
commit
0d91225892
2
tests/fixtures/tests.py
vendored
2
tests/fixtures/tests.py
vendored
@@ -304,7 +304,7 @@ class FixtureLoadingTests(DumpDataAssertMixin, TestCase):
|
||||
])
|
||||
|
||||
def test_ambiguous_compressed_fixture(self):
|
||||
# The name "fixture5" is ambigous, so loading it will raise an error
|
||||
# The name "fixture5" is ambiguous, so loading it will raise an error
|
||||
with self.assertRaises(management.CommandError) as cm:
|
||||
management.call_command('loaddata', 'fixture5', verbosity=0)
|
||||
self.assertIn("Multiple fixtures named 'fixture5'", cm.exception.args[0])
|
||||
|
||||
Reference in New Issue
Block a user