Fix test failure issues in test_sql_query.py
The lint failure probably snuck through in a merge, and the test
failure is nondeterministic (depends on how the tests are run.)
import os.path
from edb.testbase import server as tb
-from edb.tools import test
try:
import asyncpg
@@ -646,6 +645,9 @@ class TestSQL(tb.SQLQueryTestCase):
'''
)
+ # HACK: Set search_path back to public
+ await self.scon.execute('SET search_path TO public;')
+
async def test_sql_query_static_eval(self):
res = await self.squery_values('select current_schema;')
self.assertEqual(res, [['public']])
