mirror of
https://github.com/fusion44/blitz_api.git
synced 2026-08-13 11:52:45 +02:00
13 lines
325 B
Python
13 lines
325 B
Python
from starlette.testclient import TestClient
|
|
|
|
from app.main import app
|
|
from tests.routers.utils import call_route
|
|
|
|
client = TestClient(app)
|
|
|
|
|
|
def test_route_authentications_latest():
|
|
prefixes = ["/latest/system", "/v1/system"]
|
|
|
|
for prefix in prefixes:
|
|
call_route(client, f"{prefix}/refresh-token", method="p")
|