Skip to content

Commit 3af5f11

Browse files
blueyedcarltongibson
authored andcommitted
tests: fix test_scope_user_error_message.
Fixes: > RuntimeWarning: coroutine 'test_scope_user_error_message' was never awaited
1 parent eaf1815 commit 3af5f11

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/security/test_auth.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ async def test_logout_not_logged_in(session):
249249

250250

251251
@pytest.mark.django_db(transaction=True)
252+
@pytest.mark.asyncio
252253
async def test_scope_user_error_message(session):
253254
"""
254255
Tests that the correct error message is thrown when scope user is accessed before it's ready

0 commit comments

Comments
 (0)