From 910e21dc027ca7232f0822a625262dd873709767 Mon Sep 17 00:00:00 2001 From: Jonathan Lui Date: Tue, 11 Feb 2020 17:41:09 -0800 Subject: [PATCH] fix(tests): remove low version error assertion from iam conditions system tests --- tests/system.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tests/system.py b/tests/system.py index 66c565cdf..188089d94 100644 --- a/tests/system.py +++ b/tests/system.py @@ -309,15 +309,6 @@ def test_get_set_iam_policy(self): self.assertEqual(returned_policy.version, 3) self.assertEqual(returned_policy.bindings, policy.bindings) - with pytest.raises( - BadRequest, match="cannot be less than the existing policy version" - ): - bucket.get_iam_policy() - with pytest.raises( - BadRequest, match="cannot be less than the existing policy version" - ): - bucket.get_iam_policy(requested_policy_version=2) - fetched_policy = bucket.get_iam_policy(requested_policy_version=3) self.assertEqual(fetched_policy.bindings, returned_policy.bindings)