Skip to content

Commit 095d9ab

Browse files
committed
Fix unit tests for create_performance_definition for single model projects
1 parent 578db1b commit 095d9ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/unit/test_model_management.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ def test_create_performance_definition():
4848

4949
with pytest.raises(ValueError):
5050
# Project missing all required properties & specified by model
51+
get_model.side_effect = copy.deepcopy(MODELS)
5152
get_project.return_value = copy.deepcopy(PROJECT)
5253
_ = mm.create_performance_definition(
5354
models=["model1", "model2"],

0 commit comments

Comments
 (0)