'Objects created on the default database don\'t leak onto other databases'

def test_default_creation(self):

    Book.objects.create(title=u'Pro    Django', published=datetime.date(2008, 12, 16))
    dive = Book()
    dive.title = u'Dive    into    Python'
    dive.published = datetime.date(2009, 5, 4)
    dive.save()
    try:
        Book.objects.get(title=u'Pro    Django')
        Book.objects.using(u'default').get(title=u'Pro    Django')
    except Book.DoesNotExist:
        self.fail(u'"Pro    Django"    should    exist    on    default    database')
    self.assertRaises(Book.DoesNotExist, Book.objects.using(u'other').get, title=u'Pro    Django')
    try:
        Book.objects.get(title=u'Dive    into    Python')
        Book.objects.using(u'default').get(title=u'Dive    into    Python')
    except Book.DoesNotExist:
        self.fail(u'"Dive    into    Python"    should    exist    on    default    database')
    self.assertRaises(Book.DoesNotExist, Book.objects.using(u'other').get, title=u'Dive    into    Python')
