tests: add unittest.main() call

This commit is contained in:
Aleix Conchillo Flaqué
2026-01-28 11:01:52 -08:00
parent b486f35c70
commit 305ab44132
37 changed files with 149 additions and 0 deletions

View File

@@ -509,3 +509,7 @@ async def test_aws_bedrock_run_inference_client_exception():
with patch.object(service._aws_session, "client", return_value=mock_context_manager):
with pytest.raises(Exception, match="Bedrock API Error"):
await service.run_inference(mock_context)
if __name__ == "__main__":
unittest.main()