test(test_llm_guard.py): fix test

This commit is contained in:
Krrish Dholakia 2024-03-26 18:37:27 -07:00
parent f62f642393
commit 4488480188

View file

@ -53,6 +53,7 @@ async def test_llm_guard_valid_response():
} }
] ]
}, },
user_api_key_dict=user_api_key_dict,
call_type="completion", call_type="completion",
) )
except Exception as e: except Exception as e:
@ -88,6 +89,7 @@ async def test_llm_guard_error_raising():
} }
] ]
}, },
user_api_key_dict=user_api_key_dict,
call_type="completion", call_type="completion",
) )
pytest.fail(f"Should have failed - {str(e)}") pytest.fail(f"Should have failed - {str(e)}")