Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.6.x] Fixed #21243 -- Corrected exception message in multiple datab…

…ase tests.

Thanks to vajrasky for the report and patch.

Backport of a971d19 from trunk.
  • Loading branch information...
commit 1bf95803f3fa39fca5e5b9cb84913c82595d8fd5 1 parent af46932
Russell Keith-Magee freakboy3742 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/multiple_database/tests.py
4 tests/multiple_database/tests.py
View
@@ -49,7 +49,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,
@@ -84,7 +84,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.