diff --git a/tests/test_source_maarch.py b/tests/test_source_maarch.py index 8a2461b..85fc0ed 100644 --- a/tests/test_source_maarch.py +++ b/tests/test_source_maarch.py @@ -250,7 +250,7 @@ def test_feed(settings, app, maarch, wcs, user): user.set_password('test') user.save() # verify authentication error - response = app.post_json('/api/mail/response/', params={}, status=401) + response = app.post_json('/api/mail/response/', params={}, status=403) app.authorization = ('Basic', ('test', 'test')) # verify serializer error response = app.post_json('/api/mail/response/', params={}, status=400) diff --git a/tox.ini b/tox.ini index 15f99a1..2ffdf06 100644 --- a/tox.ini +++ b/tox.ini @@ -23,7 +23,7 @@ deps = python-dateutil pylint<1.8 pylint-django<0.8.1 - django-webtest<1.9.5 + django-webtest>=1.9.6 pyquery lxml git+https://git.entrouvert.org/debian/django-ckeditor.git