SIENTIAPDE-1252: Improve caching in quality gate, add alt text to logo, and change exception type in MLflow repository.

This commit is contained in:
Bruno Domingues
2025-10-13 10:54:38 -03:00
parent b3c749872c
commit 9d4ec19586
4 changed files with 11 additions and 6 deletions

View File

@@ -762,7 +762,7 @@ def test_save_run_mlflow_error(mock_path, mlflow_repository):
'MLflow connection error'
)
with pytest.raises(Exception) as exc_info:
with pytest.raises(RuntimeError) as exc_info:
mlflow_repository.save_run(data)
assert 'Failed to save run' in str(exc_info.value)