We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 346b82a commit 7905e56Copy full SHA for 7905e56
1 file changed
background/app/main_test.py
@@ -16,8 +16,7 @@
16
import uuid
17
18
import google.auth
19
-from google.cloud import firestore
20
-from google.cloud import pubsub
+from google.cloud import firestore, pubsub, storage
21
import main
22
import pytest
23
@@ -38,8 +37,11 @@ def clear_collection(collection):
38
37
"""
39
for doc in collection.stream():
40
doc.reference.delete()
+ bucket_name = 'system-test-bucket'
41
42
client = firestore.Client()
43
+ storage_client = storage.Client()
44
+ bucket = storage_client.bucket(bucket_name)
45
translations = client.collection("translations")
46
clear_collection(translations)
47
translations.add(
0 commit comments