Skip to content

Commit 619cfd5

Browse files
author
Ofir Gordon
committed
test links checker
1 parent b588672 commit 619cfd5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/doc_tests/test_docs_links.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,7 @@ def check_link(_url, branch_name):
3333
response = requests.get(_url)
3434
print(f"[{response.status_code}] {_url}")
3535
if response.status_code == 429:
36-
print("Rate-limited! Headers:")
37-
for k, v in response.headers.items():
38-
if "rate" in k.lower() or "retry" in k.lower():
39-
print(f"{k}: {v}")
36+
print(response.text) # Logs the full response body
4037
if response.status_code == 200:
4138
return True
4239
except Exception as e:

0 commit comments

Comments
 (0)