aboutsummaryrefslogtreecommitdiff
path: root/tests/http/test_magic.py
diff options
context:
space:
mode:
authorstuppie2026-11-04 12:11:03 -0600
committerstuppie2026-11-04 12:11:03 -0600
commit671a7b1b02503cfa5c9aecd40c27a0c2729a285b (patch)
tree6cb1bd7c33e3e1d243ee5ae74decc57faaa5742d /tests/http/test_magic.py
parente99ec6b7e38113a2237dc1ff402d8f4337c651d5 (diff)
downloadamt-jb-671a7b1b02503cfa5c9aecd40c27a0c2729a285b.tar.gz
amt-jb-671a7b1b02503cfa5c9aecd40c27a0c2729a285b.zip
strip out AMT
Diffstat (limited to 'tests/http/test_magic.py')
-rw-r--r--tests/http/test_magic.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/http/test_magic.py b/tests/http/test_magic.py
index f645677..278a194 100644
--- a/tests/http/test_magic.py
+++ b/tests/http/test_magic.py
@@ -1,5 +1,6 @@
from uuid import uuid4
+import pytest
from generalresearch.redis_helper import RedisConfig
from jb.api.magic_token import (
@@ -11,8 +12,12 @@ from jb.api.magic_token import (
from jb.models.auth import AmtAccountLink
-class TestViewFunctions:
+@pytest.fixture
+def amt_worker_id() -> str:
+ return uuid4().hex
+
+class TestViewFunctions:
def test_create_amt_account_link_token(
self, redis_config: RedisConfig, amt_worker_id: str
):