Skip to content

Commit 05ec7e7

Browse files
committed
fix timeout again
1 parent 1ed0a39 commit 05ec7e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test_qiniu.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -301,9 +301,9 @@ class DownloadTestCase(unittest.TestCase):
301301
q = Auth(access_key, secret_key)
302302

303303
def test_private_url(self):
304-
bucket = 'test_private_bucket'
305-
key = 'test_private_key'
306-
base_url = 'http://%s/%s' % (bucket, key)
304+
private_bucket = 'private-res'
305+
private_key = 'gogopher.jpg'
306+
base_url = 'http://%s/%s' % (private_bucket+'.qiniudn.com', private_key)
307307
private_url = self.q.private_download_url(base_url, expires=3600)
308308
print(private_url)
309309
r = requests.get(private_url)

0 commit comments

Comments
 (0)