kumar303 / hawkrest

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

Use end-to-end middleware tests #39

Closed edmorley closed 7 months ago

edmorley commented 6 years ago

From #38:

One complication is that properly testing this change to hawkrest means overhauling the tests to actually test the middleware end to end, like eg: https://github.com/encode/django-rest-framework/blob/master/tests/test_middleware.py

(And ideally also overhauling the auth parts too, a la https://github.com/encode/django-rest-framework/blob/master/tests/test_authentication.py)

kumar303 commented 6 years ago

Seems useful. Thanks for filing.