We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36bf988 commit b1ca082Copy full SHA for b1ca082
tests/model_registry/model_catalog/huggingface/test_huggingface_negative.py
@@ -115,6 +115,20 @@ class TestHuggingFaceNegative:
115
"failed to expand model patterns: no models found",
116
id="test_hf_source_non_existent_allowed_organization",
117
),
118
+ pytest.param(
119
+ """
120
+catalogs:
121
+ - name: HuggingFace Hub
122
+ id: error_catalog
123
+ type: hf
124
+ enabled: true
125
+ includedModels:
126
+ - 'microsoft/phi-3-abc-random'
127
+""",
128
+ "Failed to fetch some models, ensure models exist and are accessible with given credentials. "
129
+ "Failed models: [microsoft/phi-3-abc-random]",
130
+ id="test_hf_bad_model_name",
131
+ ),
132
],
133
indirect=["updated_catalog_config_map_scope_function"],
134
)
0 commit comments