Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed a duplicate test in fixtures_regress.

test_abort_loaddata_on_error was exactly the same test as
test_empty (error is tested in test_error_message).
  • Loading branch information...
commit 7a4233b69c3a4f4ff023bb58ed30f9f7307d7cd2 1 parent fb871f6
@claudep claudep authored
Showing with 0 additions and 19 deletions.
  1. +0 −19 tests/regressiontests/fixtures_regress/tests.py
View
19 tests/regressiontests/fixtures_regress/tests.py
@@ -185,25 +185,6 @@ def test_empty(self):
"No fixture data found for 'empty'. (File format may be invalid.)\n"
)
- def test_abort_loaddata_on_error(self):
- """
- Test for ticket #4371 -- If any of the fixtures contain an error,
- loading is aborted.
- Validate that error conditions are caught correctly
- """
- stderr = BytesIO()
- management.call_command(
- 'loaddata',
- 'empty',
- verbosity=0,
- commit=False,
- stderr=stderr,
- )
- self.assertEqual(
- stderr.getvalue(),
- "No fixture data found for 'empty'. (File format may be invalid.)\n"
- )
-
def test_error_message(self):
"""
(Regression for #9011 - error message is correct)
Please sign in to comment.
Something went wrong with that request. Please try again.