We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f02d38b commit b0c18b3Copy full SHA for b0c18b3
tests/blueprints/test_guards.py
@@ -636,7 +636,7 @@ def test_openai_v1_chat_completions__raises_404(mocker):
636
mocker.patch("guardrails_api.blueprints.guards.CacheClient.set")
637
# expect 404 HttpError
638
with pytest.raises(Exception) as e:
639
- response = openai_v1_chat_completions("My%20Guard's%20Name")
+ openai_v1_chat_completions("My%20Guard's%20Name")
640
assert str(e.value) == '404 Not Found: Guard not found'
641
642
mock_get_guard.assert_called_once_with("My Guard's Name")
0 commit comments