Skip to content

The test test_anon_token_from_cookie is breaking #13

@peterbe

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'

:(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions