Skip to content

Commit c1cbe55

Browse files
authored
Fix lfs test in CI (#3275)
1 parent d23abb3 commit c1cbe55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_hf_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2784,7 +2784,7 @@ def test_end_to_end_thresh_6M(self):
27842784
cwd=self.cache_dir,
27852785
)
27862786
self.assertEqual(failed_process.returncode, 1)
2787-
self.assertIn("cli lfs-enable-largefiles", failed_process.stderr.decode())
2787+
self.assertIn('Run "hf lfs-enable-largefiles ./path/to/your/repo"', failed_process.stderr.decode())
27882788
# ^ Instructions on how to fix this are included in the error message.
27892789
subprocess.run(["hf", "lfs-enable-largefiles", self.cache_dir], check=True)
27902790

0 commit comments

Comments
 (0)