mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 01:04:59 +00:00
do not package tests/
This commit is contained in:
parent
7ece31c08a
commit
0860e7b30d
15 changed files with 1 additions and 1 deletions
15
tests/test_urls.py
Normal file
15
tests/test_urls.py
Normal file
|
@ -0,0 +1,15 @@
|
|||
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}"
|
Loading…
Add table
Add a link
Reference in a new issue