tests: make tests pass with django-webtest >= 1.9.6

This commit is contained in:
Benjamin Dauvergne 2019-06-09 01:21:37 +02:00
parent b10c0e955b
commit c7676678df
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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