Skip to content

Commit ce1ba16

Browse files
author
Frederick Ross
committed
Fixed test for revoking ungranted capabilities on Role.
1 parent 7ed6005 commit ce1ba16

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/test_role.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def test_invalid_revoke(self):
8888
self.assertRaises(client.NoSuchCapability, self.role.revoke, 'i-am-an-invalid-capability')
8989

9090
def test_revoke_capability_not_granted(self):
91-
self.assertRaises(ValueError, self.role.revoke, 'change_own_password')
91+
self.role.revoke('change_own_password')
9292

9393

9494
def test_update(self):

0 commit comments

Comments
 (0)