Skip to content

Commit 47cccc9

Browse files
authored
[CI] Fix upstream hub test url (#4543)
* fix upstream hub test url * style
1 parent 90b3a98 commit 47cccc9

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

tests/hub_fixtures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
USER = "__DUMMY_TRANSFORMERS_USER__"
1010
FULL_NAME = "Dummy User"
11-
TOKEN = "hf_94wBhPGp6KrrTH3KDchhKpRxZwd6dmHWLL"
11+
TOKEN = "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"
1212

1313
ENDPOINT_STAGING = "https://hub-ci.huggingface.co"
1414
ENDPOINT_STAGING_DATASETS_URL = ENDPOINT_STAGING + "/datasets/{repo_id}/resolve/{revision}/{path}"

tests/test_upstream_hub.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,12 @@
1414

1515
from datasets import Audio, ClassLabel, Dataset, DatasetDict, Features, Image, Value, load_dataset
1616
from datasets.utils._hf_hub_fixes import delete_repo
17-
from tests.hub_fixtures import TOKEN
17+
from tests.hub_fixtures import ENDPOINT_STAGING, TOKEN, USER
1818
from tests.utils import require_pil, require_sndfile
1919

2020

2121
REPO_NAME = f"repo-{int(time.time() * 10e3)}"
22-
ENDPOINT_STAGING = "https://moon-staging.huggingface.co"
2322

24-
# Should create a __DUMMY_DATASETS_USER__ :)
25-
USER = "__DUMMY_TRANSFORMERS_USER__"
26-
PASS = "__DUMMY_TRANSFORMERS_PASS__"
2723
TOKEN_PATH_STAGING = expanduser("~/.huggingface/staging_token")
2824

2925

0 commit comments

Comments
 (0)