-
Notifications
You must be signed in to change notification settings - Fork 608
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Pass the `track_large_files` argument * Test non-hf repo * Authorize non-hf git clone style * Style
- Loading branch information
1 parent
0097fc1
commit b6d03ce
Showing
2 changed files
with
37 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -381,6 +381,13 @@ def test_clone_with_repo_name_org_and_no_auth_token(self): | |
git_email="[email protected]", | ||
) | ||
|
||
def test_clone_not_hf_url(self): | ||
# Should not error out | ||
Repository( | ||
f"{WORKING_REPO_DIR}/{REPO_NAME}", | ||
clone_from="https://hf.co/hf-internal-testing/huggingface-hub-dummy-repository", | ||
) | ||
|
||
@with_production_testing | ||
def test_clone_repo_at_root(self): | ||
os.environ["GIT_LFS_SKIP_SMUDGE"] = "1" | ||
|