Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #21243 -- Corrected exception message in multiple database tests.

Thanks to vajrasky for the report and patch.
  • Loading branch information...
commit a971d19bab9bfc33d301669b319b4766bf6d94f6 1 parent 7523e78
@freakboy3742 freakboy3742 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/multiple_database/tests.py
View
4 tests/multiple_database/tests.py
@@ -48,7 +48,7 @@ def test_default_creation(self):
Book.objects.get(title="Pro Django")
Book.objects.using('default').get(title="Pro Django")
except Book.DoesNotExist:
- self.fail('"Dive Into Python" should exist on default database')
+ self.fail('"Pro Django" should exist on default database')
self.assertRaises(Book.DoesNotExist,
Book.objects.using('other').get,
@@ -83,7 +83,7 @@ def test_other_creation(self):
try:
Book.objects.using('other').get(title="Pro Django")
except Book.DoesNotExist:
- self.fail('"Dive Into Python" should exist on other database')
+ self.fail('"Pro Django" should exist on other database')
self.assertRaises(Book.DoesNotExist,
Book.objects.get,
Please sign in to comment.
Something went wrong with that request. Please try again.