'Shortcut for query equivalence assertion'

def assertEquivalent(self, query, expected_query):

    self.assertTrue(self.equivalent(query, expected_query), msg=('%s    !=    %s' % (query, expected_query)))
