Skip to content
Myr

For Issue #2286: Fixing indenting of test_login_logout

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Neil Grey · committed by Neil Grey · parent 65fc888 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/testing.rst+1 added-1 removed
157 unmodified lines
158159Now we can easily test that logging in and out works and that it fails with160invalid credentials. Add this new test function::161162 def test_login_logout(client):162 def test_login_logout(client):163 """Make sure login and logout works"""164 rv = login(client, flaskr.app.config['USERNAME'],165 flaskr.app.config['PASSWORD'])166 assert b'You were logged in' in rv.data
209 unmodified lines