Skip to content

Commit 5145ef0

Browse files
committed
use tuple instead of list
1 parent 48f645e commit 5145ef0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kms/api-client/snippets_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def check_policy():
191191
found = True
192192
assert found
193193
eventually_consistent.call(check_policy,
194-
exceptions=[Aborted, AssertionError])
194+
exceptions=(Aborted, AssertionError))
195195
# remove member
196196
snippets.remove_member_from_crypto_key_policy(self.project_id,
197197
self.location,
@@ -211,7 +211,7 @@ def check_policy():
211211
found = True
212212
assert not found
213213
eventually_consistent.call(check_policy,
214-
exceptions=[Aborted, AssertionError])
214+
exceptions=(Aborted, AssertionError))
215215

216216
def test_symmetric_encrypt_decrypt(self):
217217
cipher_bytes = snippets.encrypt_symmetric(self.project_id,

0 commit comments

Comments
 (0)