From 34475b9236722a0bfca7919a80bbedf4d482e587 Mon Sep 17 00:00:00 2001 From: David Tam Date: Wed, 3 Jul 2024 17:13:25 -0700 Subject: [PATCH] fix tests for new route --- tests/blueprints/test_guards.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/blueprints/test_guards.py b/tests/blueprints/test_guards.py index cbfa43a..1b9e927 100644 --- a/tests/blueprints/test_guards.py +++ b/tests/blueprints/test_guards.py @@ -44,10 +44,11 @@ def test_route_setup(mocker): from guardrails_api.blueprints.guards import guards_bp - assert guards_bp.route_call_count == 4 + assert guards_bp.route_call_count == 5 assert guards_bp.routes == [ "/", "/", + "//openai/v1/chat/completions", "//validate", "//history/", ]