We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ef79a6 commit e49e72eCopy full SHA for e49e72e
storage/cloud-client/snippets.py
@@ -95,7 +95,7 @@ def remove_bucket_label(bucket_name):
95
bucket.labels = labels
96
bucket.patch()
97
98
- print('Updated labels on {}.'.format(bucket.name))
+ print('Removed labels on {}.'.format(bucket.name))
99
pprint.pprint(bucket.labels)
100
101
storage/cloud-client/snippets_test.py
@@ -52,7 +52,7 @@ def test_remove_bucket_label(capsys):
52
snippets.add_bucket_label(BUCKET)
53
snippets.remove_bucket_label(BUCKET)
54
out, _ = capsys.readouterr()
55
- assert '{}' in out
+ assert 'Removed labels' in out
56
57
58
@pytest.fixture
0 commit comments