SIENTIAPDE-994
Add shutdown tests for Activities and OPC classes; improve test assertions
This commit is contained in:
@@ -251,9 +251,9 @@ def test_predict_success(mlflow_repository):
|
||||
mlflow_repository.model_serving.get_cached_predict.assert_called_once_with(
|
||||
model_name, data, 1)
|
||||
|
||||
assert output['success'] == True
|
||||
assert output['success'] is True
|
||||
assert output['content'] == {'prediction': {
|
||||
0: 2, 1: 3}, 'response_time': ANY}
|
||||
0: 3}, 'response_time': ANY}
|
||||
|
||||
|
||||
def test_predict_error(mlflow_repository):
|
||||
|
||||
Reference in New Issue
Block a user