def assertRows(self, statement, expected):

        found = sorted([tuple(row)
                        for row in statement.execute().fetchall()])

        eq_(found, sorted(expected))
Returns tenant fetched form API
dataset/ETHPy150Open zzzeek/sqlalchemy/test/sql/test_query.py/JoinTest.assertRows--crossover with--dataset/ETHPy150Open Havate/havate-openstack/proto-build/gui/horizon/Horizon_GUI/openstack_dashboard/api/ceilometer.py/CeilometerUsage.get_tenant