fix(agent): decouple roster from app quota (#37625)

This commit is contained in:
zyssyz123
2026-06-18 08:48:18 +00:00
committed by GitHub
parent c52eafe2ca
commit 933df2f490
2 changed files with 6 additions and 4 deletions
@@ -1,4 +1,4 @@
from inspect import unwrap
from inspect import getsource, unwrap
from types import SimpleNamespace
from typing import Any, cast
@@ -177,6 +177,11 @@ def test_agent_v2_console_routes_are_agent_id_first() -> None:
assert route not in paths
def test_agent_app_write_routes_do_not_reuse_app_billing_quota() -> None:
for route_class in (AgentAppListApi, AgentAppCopyApi):
assert '@cloud_edition_billing_resource_check("apps")' not in getsource(route_class)
@pytest.fixture
def account_id() -> str:
return "account-1"