diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2013-10-09 09:06:23 +0800 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2013-10-09 09:06:23 +0800 |
| commit | a971d19bab9bfc33d301669b319b4766bf6d94f6 (patch) | |
| tree | 8c3f2b3d1a5d2ca1ede41fcdf8c806ba98b55097 /tests/multiple_database/tests.py | |
| parent | 7523e784633b7757fbc82df58f80b197eeed988a (diff) | |
Fixed #21243 -- Corrected exception message in multiple database tests.
Thanks to vajrasky for the report and patch.
Diffstat (limited to 'tests/multiple_database/tests.py')
| -rw-r--r-- | tests/multiple_database/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/multiple_database/tests.py b/tests/multiple_database/tests.py index 665de2b604..0550aa2a34 100644 --- a/tests/multiple_database/tests.py +++ b/tests/multiple_database/tests.py @@ -48,7 +48,7 @@ class QueryTestCase(TestCase): 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 @@ class QueryTestCase(TestCase): 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, |
