diff --git a/examples/tutorial/tests/test_auth.py b/examples/tutorial/tests/test_auth.py index 3ac9a12c..0bc0a9db 100644 --- a/examples/tutorial/tests/test_auth.py +++ b/examples/tutorial/tests/test_auth.py @@ -16,7 +16,7 @@ def test_register(client, app): # test that the user was inserted into the database with app.app_context(): assert ( - get_db().execute("select * from user where username = 'a'").fetchone() + get_db().execute("SELECT * FROM user WHERE username = 'a'").fetchone() is not None )