Skip to content

Commit

Permalink
fix effective permission API test
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault committed Oct 14, 2020
1 parent b4987b6 commit 6bf0b21
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -1854,10 +1854,10 @@ def test_UserResourcePermissions_EffectiveResolution(self):
rAM = PermissionSet(Permission.READ, Access.ALLOW, Scope.MATCH) # noqa
rDR = PermissionSet(Permission.READ, Access.DENY, Scope.RECURSIVE) # noqa
rDM = PermissionSet(Permission.READ, Access.DENY, Scope.MATCH) # noqa
wAR = PermissionSet(Permission.READ, Access.ALLOW, Scope.RECURSIVE) # noqa
wAM = PermissionSet(Permission.READ, Access.ALLOW, Scope.MATCH) # noqa
wDR = PermissionSet(Permission.READ, Access.DENY, Scope.RECURSIVE) # noqa
wDM = PermissionSet(Permission.READ, Access.DENY, Scope.MATCH) # noqa
wAR = PermissionSet(Permission.WRITE, Access.ALLOW, Scope.RECURSIVE) # noqa
wAM = PermissionSet(Permission.WRITE, Access.ALLOW, Scope.MATCH) # noqa
wDR = PermissionSet(Permission.WRITE, Access.DENY, Scope.RECURSIVE) # noqa
wDM = PermissionSet(Permission.WRITE, Access.DENY, Scope.MATCH) # noqa
utils.TestSetup.create_TestUserResourcePermission(self, override_resource_id=svc1_id, override_permission=rAM)
utils.TestSetup.create_TestUserResourcePermission(self, override_resource_id=res1_id, override_permission=wAM)
utils.TestSetup.create_TestGroupResourcePermission(self, override_resource_id=res1_id, override_permission=rAR)
Expand Down

0 comments on commit 6bf0b21

Please sign in to comment.