From 0a0007dee01f2bf17371967105a6ab3c43f85550 Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Tue, 6 Jul 2021 18:30:31 +0000 Subject: Begin work on adding user interaction This commit adds support for getting information about a user, as well as accessing their inbox (not actually getting a CollectionPage yet, though). Currently the inbox does not require the right user to be logged in to access their personal inbox; this should be fixed. --- tests/test_auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_auth.py') diff --git a/tests/test_auth.py b/tests/test_auth.py index 3fb2493..067746d 100644 --- a/tests/test_auth.py +++ b/tests/test_auth.py @@ -16,7 +16,7 @@ def test_register(client, app): with app.app_context(): db_result = ( - get_db().execute("select * from user where username='a'",).fetchone() + get_db().execute("select * from users where username='a'",).fetchone() ) assert db_result is not None -- cgit v1.2.1