Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vangheem committed Jun 23, 2017
1 parent 5a40f09 commit 93dd8c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion guillotina/tests/test_security.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ async def test_set_local_guillotina(container_requester):
principals = get_principals_with_access_content(testing_object, request)
assert principals == ['root']
roles = get_roles_with_access_content(testing_object, request)
assert roles == ['guillotina.ContainerAdmin']
assert roles == ['guillotina.Reader', 'guillotina.Reviewer', 'guillotina.Owner',
'guillotina.Editor', 'guillotina.ContainerAdmin']

# Now we add the user1 with inherit on the container
response, status = await requester(
Expand Down

0 comments on commit 93dd8c8

Please sign in to comment.