aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/tests/test_notifications_behaviour.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/tests/test_notifications_behaviour.py')
-rw-r--r--packages/meshbay-hub/tests/test_notifications_behaviour.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/packages/meshbay-hub/tests/test_notifications_behaviour.py b/packages/meshbay-hub/tests/test_notifications_behaviour.py
index a247508..4684d3f 100644
--- a/packages/meshbay-hub/tests/test_notifications_behaviour.py
+++ b/packages/meshbay-hub/tests/test_notifications_behaviour.py
@@ -7,13 +7,12 @@ browser's localStorage and nothing read it), and there was no way to clear the
list.
"""
-import hashlib
import base64
+import hashlib
import pytest
-from sqlalchemy import select
-
from meshbay_hub.db.models import GroupMember, Notification, User
+from sqlalchemy import select
def _auth_key(password: str, username: str) -> str:
@@ -36,7 +35,7 @@ async def test_chat_keeps_one_notification_per_group(client, db_session):
"""Forty messages are one line saying when the conversation last spoke."""
from meshbay_hub.api.notifications import create_notification
- token = await _user(client, "listener")
+ await _user(client, "listener")
owner = await _user(client, "talker_test")
g = await client.post("/v1/groups", json={"name": "busy"},
headers={"Authorization": f"Bearer {owner}"})