diff --git a/tests/test_urls.py b/tests/test_urls.py new file mode 100644 index 000000000..5bb9aa7a3 --- /dev/null +++ b/tests/test_urls.py @@ -0,0 +1,9 @@ +import requests +from aider import urls + +def test_urls(): + url_attributes = [attr for attr in dir(urls) if not callable(getattr(urls, attr)) and not attr.startswith("__")] + for attr in url_attributes: + url = getattr(urls, attr) + response = requests.get(url) + assert response.status_code == 200, f"URL {url} returned status code {response.status_code}"