mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-12-19 13:43:42 +00:00
OAuth2 (#32)
* make auth method asyncs * oauth2 demo support * full coverage * update docs
This commit is contained in:
@ -15,7 +15,7 @@ async def test_get(client: TestClient, package_ahriman: Package, package_python_
|
||||
json={"status": BuildStatusEnum.Success.value, "package": package_python_schedule.view()})
|
||||
|
||||
response = await client.get("/status-api/v1/packages")
|
||||
assert response.status == 200
|
||||
assert response.ok
|
||||
|
||||
packages = [Package.from_json(item["package"]) for item in await response.json()]
|
||||
assert packages
|
||||
|
||||
Reference in New Issue
Block a user