forked from orbit-oss/flask
For Issue #2286: Fixing indenting of test_login_logout
This commit is contained in:
parent
65fc888172
commit
4e9d51b39b
1 changed files with 1 additions and 1 deletions
|
|
@ -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'])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue