Skip to content

The test test_anon_token_from_cookie is breaking #13

Description

@peterbe

Pulled down the latest master and ran tests.

======================================================================
ERROR: test_anon_token_from_cookie (session_csrf.tests.TestCsrfMiddleware)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/peterbe/dev/DJANGO/django-session-csrf/session_csrf/tests.py", line 95, in test_anon_token_from_cookie
    self.mw.process_request(request)
  File "/Users/peterbe/dev/DJANGO/django-session-csrf/session_csrf/__init__.py", line 42, in process_request
    if request.user.is_authenticated():
AttributeError: 'WSGIRequest' object has no attribute 'user'

:(

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions