moved tests/ to aider/tests/

This commit is contained in:
Paul Gauthier 2024-06-10 15:33:49 -07:00
parent 470b8d0251
commit ce46ea8d62
13 changed files with 7 additions and 1 deletions

View file

@ -1,9 +0,0 @@
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}"