From 54c7cb8bd4dd9f67f79e1f010b00aed9c5f7b1f5 Mon Sep 17 00:00:00 2001 From: Elahi-cs <67738959+Elahi-cs@users.noreply.github.com> Date: Wed, 7 Jul 2021 18:42:02 +0200 Subject: [PATCH] Small SQL formatting fix --- examples/tutorial/tests/test_auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 )