You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two failing unit tests that may be related to this:
FAIL: test_custom_perms (permission_backend_nonrel.tests.BackendTest)
Traceback (most recent call last):
File "/Users/johnie/Projects/gitrepos/demo/venv_demo/src/django-permission-backend-nonrel/permission_backend_nonrel/tests.py", line 213, in test_custom_perms
self.assertEqual(user.get_all_permissions(), exp)
AssertionError: Items in the second set but not the first:
u'auth.test_group'
FAIL: test_update_permissions_group (permission_backend_nonrel.tests.BackendTest)
Traceback (most recent call last):
File "/Users/johnie/Projects/gitrepos/demo/venv_demo/src/django-permission-backend-nonrel/permission_backend_nonrel/tests.py", line 108, in test_update_permissions_group
self.assertEqual(user.has_perm('auth.test'), True)
AssertionError: False != True
The text was updated successfully, but these errors were encountered:
Line 24 is always returning an empty set for me.
It seems to be related to this bug django-nonrel/djangotoolbox#8 where subqueries (ie __in) will fail silently.
There are two failing unit tests that may be related to this:
The text was updated successfully, but these errors were encountered: