Skip to content

Commit d8df9ff

Browse files
committed
fix list model ut
1 parent cb3e9ad commit d8df9ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unitary/with_extras/aqua/test_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ def test_import_model_with_missing_config(
735735
model_name = "oracle/aqua-1t-mega-model"
736736
reload(ads.aqua.model.model)
737737
app = AquaModelApp()
738-
app.list_resource = MagicMock(return_value=[])
738+
app.list = MagicMock(return_value=[])
739739
with pytest.raises(AquaRuntimeError):
740740
model: AquaModel = app.register(
741741
model=model_name,

0 commit comments

Comments
 (0)