update all imports in test files: fastapi_oidc_op → porchlight

This commit is contained in:
Johan Lundberg 2026-02-16 15:34:53 +01:00
parent 14037117e7
commit 7cb1adbd06
No known key found for this signature in database
GPG key ID: A6C152738D03C7D1
31 changed files with 63 additions and 63 deletions

View file

@ -1,8 +1,8 @@
import shutil
from pathlib import Path
from fastapi_oidc_op.config import Settings
from fastapi_oidc_op.oidc.provider import create_oidc_server
from porchlight.config import Settings
from porchlight.oidc.provider import create_oidc_server
def test_create_server_has_endpoints() -> None:
@ -49,7 +49,7 @@ def test_create_server_userinfo_is_porchlight() -> None:
try:
settings = Settings(issuer="http://localhost:8000", sqlite_path=":memory:", signing_key_path=str(key_path))
server = create_oidc_server(settings)
from fastapi_oidc_op.oidc.claims import PorchlightUserInfo
from porchlight.oidc.claims import PorchlightUserInfo
assert isinstance(server.context.userinfo, PorchlightUserInfo)
finally: