kumar303 / hawkrest

Hawk HTTP Authorization for Django Rest Framework
BSD 3-Clause "New" or "Revised" License
19 stars 8 forks source link

TestHawkAuthenticatedUser.test_method_compliance failing under Django 1.10 #30

Closed edmorley closed 7 years ago

edmorley commented 7 years ago

eg: https://travis-ci.org/edmorley/hawkrest/jobs/193482208

FAIL: tests/test_authentication.py:TestHawkAuthenticatedUser.test_method_compliance
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/edmorley/hawkrest/tests/test_authentication.py", line 215, in test_method_compliance
    .format(name))
AssertionError: HawkAuthenticatedUser is missing method: clean
kumar303 commented 7 years ago

heh, I remember thinking that test would come in handy when I wrote it. I'm not sure if Django would raise an error or not if the Hawk User was missing clean() though.

edmorley commented 7 years ago

I have the fix for this locally - I'll open the PR once #31 is merged and I can rebase.