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:59 +0800 |
| commit | 1bf95803f3fa39fca5e5b9cb84913c82595d8fd5 (patch) | |
| tree | 17de9560b051614cdc4f28af073e0f0da389fd69 /tests/multiple_database | |
| parent | af46932b575c494ac6d7e69c467f90cd2bb37ffe (diff) | |
[1.6.x] Fixed #21243 -- Corrected exception message in multiple database tests.
Thanks to vajrasky for the report and patch.
Backport of a971d19 from trunk.
Diffstat (limited to 'tests/multiple_database')
| -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 a0d937ce81..889841a2a5 100644 --- a/tests/multiple_database/tests.py +++ b/tests/multiple_database/tests.py @@ -49,7 +49,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, @@ -84,7 +84,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, |
