This commit is contained in:
parent
5d3cb64526
commit
74061d02e0
3 changed files with 5 additions and 5 deletions
|
|
@ -81,12 +81,12 @@ async def stop_timer(request: Request, ident: str):
|
|||
async def test_hub_access(
|
||||
headers: header_dependency,
|
||||
client: http_client_dependency,
|
||||
org_name: Annotated[str, Query()],
|
||||
org_id: Annotated[int, Query()],
|
||||
resource_name: Annotated[str, Query()] = "example_resource",
|
||||
action: Annotated[str, Query()] = "read",
|
||||
instance: Optional[Annotated[str, Query()]] = None,
|
||||
):
|
||||
rn = generate_resource_name(resource=resource_name, org=org_name, instance=instance)
|
||||
rn = generate_resource_name(resource=resource_name, org=org_id, instance=instance)
|
||||
|
||||
request_body = {
|
||||
"rn": rn.model_dump(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue