Routetest_block_before_any_output_streams_a_message_that_opens_empty_and_carries_the_denial_oncepytest.mark.parametrize(
("rail", "denial", "forwarded"),
(
("pre_call", _PRE_CALL_DENIAL, [])
tests/integration/streaming/test_faked_responses_stream_guardrail_blocks.py:None
Routetest_block_payload_canonicalpytest.mark.parametrize(
"surface,direction,transport",
[
("chat", "input", "http_
tests/unit/proxy/guardrails/guardrail_hooks/test_cisco_ai_defense_chat.py:None
Routetest_block_routes_serialize_prisma_row_to_200pytest.mark.parametrize(
("route", "blocked"), [("/model/block", True), ("/model/unblock", False)]
tests/unit/proxy/management_endpoints/test_model_management_endpoints.py:None
Routetest_budget_checks_only_run_on_llm_api_routespytest.mark.parametrize(
"scope, route, expect_blocked",
[
("user", "/chat/completions", True)
tests/unit/proxy/auth/test_auth_checks_object_access_and_lookup.py:None
Routetest_budget_reset_at_written_is_calendar_alignedpytest.mark.parametrize(
"budget_duration, expected_day, expected_month",
[
("30d", 1, 7), #
tests/unit/proxy/common_utils/test_reset_budget_job.py:None
Routetest_cached_key_budget_preserves_non_spending_accesspytest.mark.parametrize("key_max_budget, member_max_budget", [(None, 1.0), (1.0, None)])
tests/unit/proxy/auth/test_user_api_key_auth_request_flow.py:None