def test_simple_query_does_not_transform(self):

        expected_csv = 'foo\r\n1\r\n'

        r = SimpleQueryFactory(sql='select 1 as foo')
        result = csv_report(r).getvalue()

        self.assertIsNotNone(result, r.title % "Query '%s' returned None.")
        self.assertEqual(result.lower(), expected_csv)
dataset/ETHPy150Open groveco/django-sql-explorer/explorer/tests/test_actions.py/TestSqlQueryActions.test_simple_query_does_not_transform/swapped operands of `%`