Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Fix tests so they work with itkacl #84

Open
sjsivert opened this issue Apr 3, 2019 · 0 comments
Open

Fix tests so they work with itkacl #84

sjsivert opened this issue Apr 3, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@sjsivert
Copy link
Member

sjsivert commented Apr 3, 2019

Current error:
Traceback (most recent call last): File "/django/fg/tests.py", line 655, in test_if_album_always_in_descending_order response = view(request) File "/usr/local/lib/python3.6/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.6/site-packages/rest_framework/viewsets.py", line 103, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py", line 483, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py", line 443, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py", line 471, in dispatch self.initial(request, *args, **kwargs) File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py", line 389, in initial self.check_permissions(request) File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py", line 322, in check_permissions if not permission.has_permission(request, self): File "/django/fg/permissions.py", line 15, in has_permission return itkacl.check('/web/fg', user.username) RuntimeError: Host name lookup failure: syntax error

sjsivert added a commit that referenced this issue Apr 3, 2019
@sjsivert sjsivert added the bug Something isn't working label Apr 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant