Add landing install copy UX and document remaining security/test TODOs

This commit is contained in:
thePR0M3TH3AN committed 2026-02-23 16:33:57 -05:00
1 parent 0789dfcb55
commit 3ea37865cb
7 files changed
+181 -4

No files matched your search

+15
View File
@@ -9,6 +9,21 @@ sys.path.append(str(Path(__file__).resolve().parents[1]))
from seedpass import api
def test_get_pm_requires_initialized_state():
class DummyState:
pass
class DummyApp:
state = DummyState()
class DummyRequest:
app = DummyApp()
with pytest.raises(api.HTTPException) as exc:
api._get_pm(DummyRequest())
assert exc.value.status_code == 503
@pytest.mark.anyio
async def test_token_hashed(client):
_, token = client