def testTranslations(self):
        query = "SELECT first_name AS first, last_name AS last, dob, id FROM raw_query_author"
        translations = {'first': 'first_name', 'last': 'last_name'}
        authors = Author.objects.all()
        self.assertSuccessfulRawQuery(Author, query, authors, translations=translations)
Test of raw query's optional ability to translate unexpected result
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/modeltests/raw_query/tests.py/RawQueryTests.testTranslations