aboutsummaryrefslogtreecommitdiff
path: root/tests/http/test_notifications.py
diff options
context:
space:
mode:
authorMax Nanis2026-09-09 20:32:17 -0700
committerMax Nanis2026-09-09 20:32:17 -0700
commit832aecaddce80e312095ecdb572d7756eb9df5e9 (patch)
tree3f9b27bf285ef0648e22a1480ab213255d2cfee6 /tests/http/test_notifications.py
parente7e5b5f8bf81e78e417ecdb9dd6ab1616e722fa0 (diff)
downloadamt-jb-832aecaddce80e312095ecdb572d7756eb9df5e9.tar.gz
amt-jb-832aecaddce80e312095ecdb572d7756eb9df5e9.zip
Ruff auto fix, and requirements bump
Diffstat (limited to 'tests/http/test_notifications.py')
-rw-r--r--tests/http/test_notifications.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/http/test_notifications.py b/tests/http/test_notifications.py
index 508b236..60b94e6 100644
--- a/tests/http/test_notifications.py
+++ b/tests/http/test_notifications.py
@@ -1,14 +1,15 @@
-import pytest
import json
+from typing import Any
+from uuid import uuid4
+
+import pytest
import redis
-from typing import Dict, Any
from httpx import AsyncClient
-from uuid import uuid4
from jb.config import JB_EVENTS_STREAM, settings
+from jb.models.assignment import AssignmentStub
from jb.models.event import MTurkEvent
from jb.models.hit import Hit
-from jb.models.assignment import AssignmentStub
class TestNotifications:
@@ -55,7 +56,7 @@ class TestNotifications:
httpxclient: AsyncClient,
hit_record: Hit,
assignment_stub_record: AssignmentStub,
- mturk_event_body_record: Dict[str, Any],
+ mturk_event_body_record: dict[str, Any],
):
client = httpxclient