File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -56,8 +56,7 @@ def test_client_auth():
5656 _assert_authenticated_user (user )
5757
5858
59- @pytest .mark .asyncio
60- async def test_client_select ():
59+ def test_client_select ():
6160 """Ensure we can select data from a table."""
6261 from supabase_py import create_client , Client
6362
@@ -66,8 +65,6 @@ async def test_client_select():
6665 supabase : Client = create_client (url , key )
6766 # TODO(fedden): Add this set back in (and expand on it) when postgrest and
6867 # realtime libs are working.
69- query = supabase .table ("countries" ).select ("*" )
70- import ipdb
71-
72- ipdb .set_trace ()
73- data = await query .execute ()
68+ data = supabase .table ("countries" ).select ("*" ).execute ()
69+ # Assert we pulled real data.
70+ assert len (data .get ("data" , [])) > 0
You can’t perform that action at this time.
0 commit comments