Skip to content

Commit b588672

Browse files
author
Ofir Gordon
committed
test links checker
1 parent 13a49ba commit b588672

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/doc_tests/test_docs_links.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def check_link(_url, branch_name):
3232
try:
3333
response = requests.get(_url)
3434
print(f"[{response.status_code}] {_url}")
35-
if response.status_code == 249:
35+
if response.status_code == 429:
3636
print("Rate-limited! Headers:")
3737
for k, v in response.headers.items():
3838
if "rate" in k.lower() or "retry" in k.lower():

0 commit comments

Comments
 (0)