'test the raw() method across databases'

def test_raw(self):

    dive = Book.objects.using(u'other').create(title=u'Dive    into    Python', published=datetime.date(2009, 5, 4))
    val = Book.objects.db_manager(u'other').raw(u'SELECT    id    FROM    multiple_database_book')
    self.assertQuerysetEqual(val, [dive.pk], attrgetter(u'pk'))
    val = Book.objects.raw(u'SELECT    id    FROM    multiple_database_book').using(u'other')
    self.assertQuerysetEqual(val, [dive.pk], attrgetter(u'pk'))
