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

Fix tests so they work with itkacl #84

@sjsivert

Description

@sjsivert

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions