We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e306249 commit 17c1d6aCopy full SHA for 17c1d6a
tests/test_client.py
@@ -83,15 +83,10 @@ def test_client_insert(supabase: Client) -> None:
83
assert result.get("status_code", 400) == 201
84
85
86
-def test_client_bucket():
+def test_client_bucket(supabase: Client) -> None:
87
88
"""Ensure that the storage bucket operations work"""
89
- from supabase_py import create_client, Client
90
-
91
- url: str = os.environ.get("SUPABASE_TEST_URL")
92
- key: str = os.environ.get("SUPABASE_TEST_KEY")
93
TEST_BUCKET_NAME = "atestbucket"
94
- supabase: Client = create_client(url, key)
95
# TODO[Joel] - Reinstate once permissions on test instance are updated
96
# storage = supabase.storage()
97
# storage_bucket = storage.StorageBucketAPI()
0 commit comments