fix: example update for new hub response model
This commit is contained in:
parent
8c79da4fed
commit
4dcfb443f6
1 changed files with 1 additions and 3 deletions
|
|
@ -89,8 +89,6 @@ async def test_hub_access(headers: header_dependency, client: http_client_depend
|
||||||
)
|
)
|
||||||
|
|
||||||
response = {
|
response = {
|
||||||
"resource_name": rn,
|
|
||||||
"action": action,
|
|
||||||
"response": {
|
"response": {
|
||||||
"status": hub_response.status_code,
|
"status": hub_response.status_code,
|
||||||
"json": hub_response.json()
|
"json": hub_response.json()
|
||||||
|
|
@ -101,7 +99,7 @@ async def test_hub_access(headers: header_dependency, client: http_client_depend
|
||||||
|
|
||||||
|
|
||||||
@router.get("/hub/user")
|
@router.get("/hub/user")
|
||||||
async def test_hub_access(headers: header_dependency, client: http_client_dependency):
|
async def test_hub_user_details(headers: header_dependency, client: http_client_dependency):
|
||||||
hub_response = await client.get(
|
hub_response = await client.get(
|
||||||
f"http://localhost:8001/api/v1/user/self/db",
|
f"http://localhost:8001/api/v1/user/self/db",
|
||||||
headers=headers
|
headers=headers
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue