Skip to content

Commit 798b1bf

Browse files
authored
FIX: Use _RECOMMENDED_MODELS_FOR_VCR in TestResolveURL (#2531)
1 parent 90c08d6 commit 798b1bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_inference_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -706,6 +706,7 @@ def test_open_as_binary_from_bytes(self) -> None:
706706
self.assertEqual(content, content_bytes)
707707

708708

709+
@patch("huggingface_hub.inference._client._fetch_recommended_models", lambda: _RECOMMENDED_MODELS_FOR_VCR)
709710
class TestResolveURL(InferenceClientTest):
710711
FAKE_ENDPOINT = "https://my-endpoint.hf.co"
711712

0 commit comments

Comments
 (0)