Browse files

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

Thanks to vajrasky for the report and patch.
  • Loading branch information...
1 parent 7523e78 commit a971d19bab9bfc33d301669b319b4766bf6d94f6 @freakboy3742 freakboy3742 committed Oct 9, 2013
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,

0 comments on commit a971d19

Please sign in to comment.