Skip to content

Commit 2314d37

Browse files
committed
fixed asyncio test
1 parent 1fb34b9 commit 2314d37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_users.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ async def test_upload_avatar(self, student_user: User, captured_templates):
251251
await conftest.upload_avatar(client, self.image_storage)
252252
template, _ = captured_templates[-1]
253253
assert template.name == "user.html"
254-
await conftest.upload_avatar(client, self.image_storage_2)
254+
conftest.upload_avatar(client, self.image_storage_2)
255255
client.get('/avatar/delete')
256256
template, _ = captured_templates[-1]
257257
assert template.name == "user.html"

0 commit comments

Comments
 (0)