For Issue #2286: Fixing indenting of test_login_logout

This commit is contained in:
Neil Grey 2017-05-22 17:42:30 -07:00
parent 65fc888172
commit 4e9d51b39b

View file

@ -159,7 +159,7 @@ Add the following two functions to your :file:`test_flaskr.py` file::
Now we can easily test that logging in and out works and that it fails with Now we can easily test that logging in and out works and that it fails with
invalid credentials. Add this new test function:: invalid credentials. Add this new test function::
def test_login_logout(client): def test_login_logout(client):
"""Make sure login and logout works""" """Make sure login and logout works"""
rv = login(client, flaskr.app.config['USERNAME'], rv = login(client, flaskr.app.config['USERNAME'],
flaskr.app.config['PASSWORD']) flaskr.app.config['PASSWORD'])