File tree 2 files changed +9
-10
lines changed
2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
- SUPABASE_TEST_KEY=" eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlhdCI6MTYxMjYwOTMyMiwiZXhwIjoxOTI4MTg1MzIyfQ.XL9W5I_VRQ4iyQHVQmjG0BkwRfx6eVyYB3uAKcesukg " \
3
- SUPABASE_TEST_URL=" https://tfsatoopsijgjhrqplra .supabase.co" \
2
+ SUPABASE_TEST_KEY=" eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlhdCI6MTYzNTAwODQ4NywiZXhwIjoxOTUwNTg0NDg3fQ.l8IgkO7TQokGSc9OJoobXIVXsOXkilXl4Ak6SCX5qI8 " \
3
+ SUPABASE_TEST_URL=" https://ibrydvrsxoapzgtnhpso .supabase.co" \
4
4
poetry run pytest
Original file line number Diff line number Diff line change @@ -89,11 +89,10 @@ def test_client_bucket(supabase: Client) -> None:
89
89
90
90
"""Ensure that the storage bucket operations work"""
91
91
TEST_BUCKET_NAME = "atestbucket"
92
- # TODO[Joel] - Reinstate once permissions on test instance are updated
93
- # storage = supabase.storage()
94
- # storage_bucket = storage.StorageBucketAPI()
95
- # storage_bucket.create_bucket(TEST_BUCKET_NAME)
96
- # storage_bucket.list_buckets()
97
- # storage_bucket.get_bucket(TEST_BUCKET_NAME)
98
- # storage_bucket.empty_bucket(TEST_BUCKET_NAME)
99
- # storage_bucket.delete_bucket(TEST_BUCKET_NAME)
92
+ storage = supabase .storage ()
93
+ storage_bucket = storage .StorageBucketAPI ()
94
+ storage_bucket .create_bucket (TEST_BUCKET_NAME )
95
+ storage_bucket .list_buckets ()
96
+ storage_bucket .get_bucket (TEST_BUCKET_NAME )
97
+ storage_bucket .empty_bucket (TEST_BUCKET_NAME )
98
+ storage_bucket .delete_bucket (TEST_BUCKET_NAME )
You can’t perform that action at this time.
0 commit comments