Skip to content

Commit

Permalink
Fix intermittent test failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
hannosch committed Jan 20, 2017
1 parent b122f90 commit de69eda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AccessControl/tests/test_users.py
Expand Up @@ -90,8 +90,8 @@ class Context(object):
target = Context()
target.__ac_local_roles__ = {'user': ['Other']}
target.__parent__ = parent
self.assertEqual(derived.getRolesInContext(target),
['Manager', 'Other', 'Another'])
self.assertEqual(set(derived.getRolesInContext(target)),
set(['Manager', 'Other', 'Another']))

def test_getRolesInContext_w_method(self):
class Context(object):
Expand Down

0 comments on commit de69eda

Please sign in to comment.