ruff check
This commit is contained in:
+1
-1
@@ -16,6 +16,7 @@ from datetime import UTC, datetime, timedelta
|
||||
import httpx
|
||||
import pytest
|
||||
|
||||
from paskia import authcode
|
||||
from paskia.authsession import EXPIRES
|
||||
from paskia.db import delete_session
|
||||
from paskia.util.passphrase import generate
|
||||
@@ -311,7 +312,6 @@ class TestSetSessionEndpoint:
|
||||
self, client: httpx.AsyncClient, session_token: str
|
||||
):
|
||||
"""Set session with valid auth code as bearer should set cookie."""
|
||||
from paskia import authcode
|
||||
|
||||
code = authcode.store_cookie(
|
||||
authcode.CookieCode(
|
||||
|
||||
Reference in New Issue
Block a user