Update Flask related test dependencies to recent versions. A few notes about the changes to the tests:
Use flask_login.FlaskLoginClient introduced in Flask-Login 0.5.0 to log in in the tests.
In test_simple_flushing_view, the expected client_addr is now 127.0.0.1 instead of None because since Flask 0.12, app.test_client includes a preset default environment where client_addr is 127.0.0.1
Update Flask related test dependencies to recent versions. A few notes about the changes to the tests:
Use
flask_login.FlaskLoginClient
introduced in Flask-Login 0.5.0 to log in in the tests.In
test_simple_flushing_view
, the expectedclient_addr
is now127.0.0.1
instead ofNone
because since Flask 0.12,app.test_client
includes a preset default environment whereclient_addr
is127.0.0.1
Fixes #40. Fixes #41.