diff options
| author | Tom Harley | 2021-07-06 18:30:31 +0000 |
|---|---|---|
| committer | Tom Harley | 2021-07-06 18:30:31 +0000 |
| commit | 0a0007dee01f2bf17371967105a6ab3c43f85550 (patch) | |
| tree | 9e01b8fa0f677a6bcd650afbb022c67a53ef3b4b /tests/test_auth.py | |
| parent | Add nixfmt to project (diff) | |
| download | swap-0a0007dee01f2bf17371967105a6ab3c43f85550.tar.gz swap-0a0007dee01f2bf17371967105a6ab3c43f85550.zip | |
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.
Diffstat (limited to 'tests/test_auth.py')
| -rw-r--r-- | tests/test_auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
