From 0044ab47379644c03e3df81ec5bc7b896e54aa1b Mon Sep 17 00:00:00 2001 From: odkhang Date: Wed, 17 Jul 2024 15:47:42 +0700 Subject: [PATCH] Clean trailing whitespaces --- server/tests/live/test_auth.py | 3 +-- server/tests/live/test_chat.py | 3 +-- server/tests/live/test_chat_direct.py | 1 + 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/server/tests/live/test_auth.py b/server/tests/live/test_auth.py index edc6202e..f4f0d686 100644 --- a/server/tests/live/test_auth.py +++ b/server/tests/live/test_auth.py @@ -1072,5 +1072,4 @@ async def test_anonymous_invite(client, world, stream_room, bbb_room): "room:question.ask", "room:poll.vote", "room:poll.read", - } - \ No newline at end of file + } \ No newline at end of file diff --git a/server/tests/live/test_chat.py b/server/tests/live/test_chat.py index 35b1dba2..cbdc4d49 100644 --- a/server/tests/live/test_chat.py +++ b/server/tests/live/test_chat.py @@ -1323,5 +1323,4 @@ async def test_force_join_after_login(world, chat_room): # Some asyncio test weirdness, I don't get why r = await c2.receive_json_from() assert r[0] == "chat.channels" - assert channel_id in [c["id"] for c in r[1]["channels"]] - \ No newline at end of file + assert channel_id in [c["id"] for c in r[1]["channels"]] \ No newline at end of file diff --git a/server/tests/live/test_chat_direct.py b/server/tests/live/test_chat_direct.py index a5060beb..931d1dfb 100644 --- a/server/tests/live/test_chat_direct.py +++ b/server/tests/live/test_chat_direct.py @@ -792,6 +792,7 @@ async def test_send_if_silenced(world): assert "error" == response[0] assert "chat.denied" == response[2]["code"] + @pytest.mark.asyncio @pytest.mark.django_db async def test_notification_contains_content_and_persists(world):