SIENTIAPDE-1252: Improve caching in quality gate, add alt text to logo, and change exception type in MLflow repository.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user