Skip to content

Commit 09dccf7

Browse files
gguusscrwilcox
authored andcommitted
Adds updates including compute [(#2436)](GoogleCloudPlatform/python-docs-samples#2436)
* Adds updates including compute * Python 2 compat pytest * Fixing weird \r\n issue from GH merge * Put asset tests back in * Re-add pod operator test * Hack parameter for k8s pod operator
1 parent 5182a8d commit 09dccf7

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

samples/snippets/requirements.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
google-cloud-dlp==0.10.0
2-
google-cloud-storage==1.13.2
3-
google-cloud-pubsub==0.39.1
4-
google-cloud-datastore==1.7.3
5-
google-cloud-bigquery==1.9.0
1+
google-cloud-dlp==0.12.1
2+
google-cloud-storage==1.19.1
3+
google-cloud-pubsub==1.0.0
4+
google-cloud-datastore==1.9.0
5+
google-cloud-bigquery==1.20.0

samples/snippets/triggers_test.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ def bucket():
5353

5454
# Delete the files.
5555
for blob in blobs:
56-
blob.delete()
56+
try:
57+
blob.delete()
58+
except google.cloud.exceptions.NotFound:
59+
print('Issue during teardown, missing blob')
5760

5861
# Attempt to delete the bucket; this will only work if it is empty.
5962
bucket.delete()

0 commit comments

Comments
 (0)