diff options
| author | Max Nanis | 2026-09-10 01:00:39 -0700 |
|---|---|---|
| committer | Max Nanis | 2026-09-10 01:00:39 -0700 |
| commit | 4dca7296742b607e74f16e2f6484c51163a41ace (patch) | |
| tree | 0839c16d0905deb587d3ee25ff93fd3ccf7eeeb6 /tests/http/test_auth.py | |
| parent | 832aecaddce80e312095ecdb572d7756eb9df5e9 (diff) | |
| download | amt-jb-4dca7296742b607e74f16e2f6484c51163a41ace.tar.gz amt-jb-4dca7296742b607e74f16e2f6484c51163a41ace.zip | |
using model_validator on GRLSettings. Allows null default values, then to asser them on load. Required so pydantic_settings can be loaded in tests without params
Diffstat (limited to 'tests/http/test_auth.py')
| -rw-r--r-- | tests/http/test_auth.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/http/test_auth.py b/tests/http/test_auth.py index ebda742..1fa1335 100644 --- a/tests/http/test_auth.py +++ b/tests/http/test_auth.py @@ -1,4 +1,3 @@ -import secrets from urllib.parse import parse_qs, urlparse import pytest @@ -38,8 +37,7 @@ class FakeGRApiManager: @pytest.fixture def email() -> str: - email = secrets.token_urlsafe(16) + "@gmail.com" - return email.lower() + return "unittest@generalresearch.com" @pytest.fixture |
