Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dtam committed Aug 16, 2024
1 parent f02d38b commit b0c18b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/blueprints/test_guards.py
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ def test_openai_v1_chat_completions__raises_404(mocker):
mocker.patch("guardrails_api.blueprints.guards.CacheClient.set")
# expect 404 HttpError
with pytest.raises(Exception) as e:
response = openai_v1_chat_completions("My%20Guard's%20Name")
openai_v1_chat_completions("My%20Guard's%20Name")
assert str(e.value) == '404 Not Found: Guard not found'

mock_get_guard.assert_called_once_with("My Guard's Name")
Expand Down

0 comments on commit b0c18b3

Please sign in to comment.