8000 Update string reported in snippet and update test · niralkk/python-docs-samples@e49e72e · GitHub
[go: up one dir, main page]

Skip to content

Commit e49e72e

Browse files
authored
Update string reported in snippet and update test
1 parent 5ef79a6 commit e49e72e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

storage/cloud-client/snippets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def remove_bucket_label(bucket_name):
9595
bucket.labels = labels
9696
bucket.patch()
9797

98-
print('Updated labels on {}.'.format(bucket.name))
98+
print('Removed labels on {}.'.format(bucket.name))
9999
pprint.pprint(bucket.labels)
100100

101101

storage/cloud-client/snippets_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def test_remove_bucket_label(capsys):
5252
snippets.add_bucket_label(BUCKET)
5353
snippets.remove_bucket_label(BUCKET)
5454
out, _ = capsys.readouterr()
55-
assert '{}' in out
55+
assert 'Removed labels' in out
5656

5757

5858
@pytest.fixture

0 commit comments

Comments
 (0)
0