diff --git a/tests/blueprints/test_guards.py b/tests/blueprints/test_guards.py index 79167f0..062a458 100644 --- a/tests/blueprints/test_guards.py +++ b/tests/blueprints/test_guards.py @@ -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")