Skip to content

Commit a88c772

Browse files
authored
Add timestamp to snapshot download tests (#201)
1 parent 0ce8377 commit a88c772

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_snapshot_download.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
import os
22
import tempfile
3+
import time
34
import unittest
45

56
from huggingface_hub import HfApi, Repository
67
from huggingface_hub.snapshot_download import snapshot_download
78
from tests.testing_constants import ENDPOINT_STAGING, PASS, USER
89

910

10-
REPO_NAME = "dummy-hf-hub"
11+
REPO_NAME = "dummy-hf-hub-{}".format(int(time.time() * 10e3))
1112

1213

1314
class SnapshotDownloadTests(unittest.TestCase):

0 commit comments

Comments
 (0)