Replace session.renewed with .expiry for consistency with other expiring items. Fix migration script.

This commit is contained in:
2026-01-23 01:39:59 +00:00
parent 02e04da2c4
commit 236d52aa55
11 changed files with 84 additions and 77 deletions
+4 -2
View File
@@ -18,6 +18,8 @@ from uuid import UUID
import httpx
import pytest
from paskia.authsession import expires
import pytest_asyncio
import uuid7
@@ -190,7 +192,7 @@ async def session_token(
host="localhost:4401",
ip="127.0.0.1",
user_agent="pytest",
renewed=datetime.now(timezone.utc),
expiry=expires(),
)
return token
@@ -208,7 +210,7 @@ async def regular_session_token(
host="localhost:4401",
ip="127.0.0.1",
user_agent="pytest",
renewed=datetime.now(timezone.utc),
expiry=expires(),
)
return token