'Multi-db fixtures are loaded correctly'

@override_settings(DATABASE_ROUTERS=[AntiPetRouter()])
def test_fixture_loading(self):

    Book.objects.get(title='Pro    Django')
    Book.objects.using('default').get(title='Pro    Django')
    with self.assertRaises(Book.DoesNotExist):
        Book.objects.using('other').get(title='Pro    Django')
    Book.objects.using('other').get(title='Dive    into    Python')
    with self.assertRaises(Book.DoesNotExist):
        Book.objects.get(title='Dive    into    Python')
    with self.assertRaises(Book.DoesNotExist):
        Book.objects.using('default').get(title='Dive    into    Python')
    Book.objects.get(title='The    Definitive    Guide    to    Django')
    Book.objects.using('default').get(title='The    Definitive    Guide    to    Django')
    Book.objects.using('other').get(title='The    Definitive    Guide    to    Django')
