Skip to content

Commit

Permalink
fix tests for new route
Browse files Browse the repository at this point in the history
  • Loading branch information
dtam committed Jul 4, 2024
1 parent 69ff331 commit 34475b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/blueprints/test_guards.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 == [
"/",
"/<guard_name>",
"/<guard_name>/openai/v1/chat/completions",
"/<guard_name>/validate",
"/<guard_name>/history/<call_id>",
]
Expand Down

0 comments on commit 34475b9

Please sign in to comment.