Skip to content

Commit

Permalink
Update test_connect.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AquamarineCyan authored Jan 11, 2025
1 parent 9c5973b commit dfeda20
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/test_connect.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@ def test_api_url():


def test_mirror_url():
for url in ["https://ghfast.top/", "https://github.moeyy.xyz/", "https://hub.gitmirror.com/"]:
for url in [
"https://ghfast.top/",
"https://github.moeyy.xyz/",
"https://ghps.cc/",
"https://gh.ddlc.top/",
"https://ghproxy.net/",
]:
r = httpx.get(url, headers=headers)
print(f"mirror station: {url} request latency: {r.elapsed.total_seconds() * 1000} ms")
assert r.status_code == 200

0 comments on commit dfeda20

Please sign in to comment.