Skip to content
Myr

Small SQL formatting fix

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

authored by Elahi-cs · committed by Elahi-cs · parent 85c35bd · Browse files · 2 files+2 added−2 removed
This commit

State

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

Diff stats

2 files+2 added−2 removed

  • tests:+1 added−1 removed
  • other:+1 added−1 removed

2 files+2 added−2 removed

modified:docs/tutorial/tests.rst+1 added-1 removed
268 unmodified lines
269 assert 'http://localhost/auth/login' == response.headers['Location']270271 with app.app_context():272 assert get_db().execute(273 "select * from user where username = 'a'",273 "SELECT * FROM user WHERE username = 'a'",274 ).fetchone() is not None275276277 @pytest.mark.parametrize(('username', 'password', 'message'), (
284 unmodified lines
modified:examples/tutorial/tests/test_auth.py+1 added-1 removed
14 unmodified lines
1516 # test that the user was inserted into the database17 with app.app_context():18 assert (19 get_db().execute("select * from user where username = 'a'").fetchone()19 get_db().execute("SELECT * FROM user WHERE username = 'a'").fetchone()20 is not None21 )2223
46 unmodified lines