diff --git a/tests/multiple_database/tests.py b/tests/multiple_database/tests.py
index 665de2b..0550aa2 100644
|
a
|
b
|
class QueryTestCase(TestCase):
|
| 48 | 48 | Book.objects.get(title="Pro Django") |
| 49 | 49 | Book.objects.using('default').get(title="Pro Django") |
| 50 | 50 | except Book.DoesNotExist: |
| 51 | | self.fail('"Dive Into Python" should exist on default database') |
| | 51 | self.fail('"Pro Django" should exist on default database') |
| 52 | 52 | |
| 53 | 53 | self.assertRaises(Book.DoesNotExist, |
| 54 | 54 | Book.objects.using('other').get, |
| … |
… |
class QueryTestCase(TestCase):
|
| 83 | 83 | try: |
| 84 | 84 | Book.objects.using('other').get(title="Pro Django") |
| 85 | 85 | except Book.DoesNotExist: |
| 86 | | self.fail('"Dive Into Python" should exist on other database') |
| | 86 | self.fail('"Pro Django" should exist on other database') |
| 87 | 87 | |
| 88 | 88 | self.assertRaises(Book.DoesNotExist, |
| 89 | 89 | Book.objects.get, |