We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6378820 commit 0f2133bCopy full SHA for 0f2133b
tests/test_file_download.py
@@ -505,7 +505,7 @@ def test_get_hf_file_metadata_from_a_lfs_file(self) -> None:
505
url = hf_hub_url("gpt2", filename="tf_model.h5")
506
metadata = get_hf_file_metadata(url)
507
508
- self.assertIn("cdn-lfs", metadata.location) # Redirection
+ self.assertIn("xethub.hf.co", metadata.location) # Redirection
509
self.assertEqual(metadata.size, 497933648) # Size of LFS file, not pointer
510
511
def test_file_consistency_check_fails_regular_file(self):
0 commit comments