mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-23 13:54:59 +00:00
moved tests/ to aider/tests/
This commit is contained in:
parent
470b8d0251
commit
ce46ea8d62
13 changed files with 7 additions and 1 deletions
|
@ -1,8 +1,14 @@
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
from aider import urls
|
from aider import urls
|
||||||
|
|
||||||
|
|
||||||
def test_urls():
|
def test_urls():
|
||||||
url_attributes = [attr for attr in dir(urls) if not callable(getattr(urls, attr)) and not attr.startswith("__")]
|
url_attributes = [
|
||||||
|
attr
|
||||||
|
for attr in dir(urls)
|
||||||
|
if not callable(getattr(urls, attr)) and not attr.startswith("__")
|
||||||
|
]
|
||||||
for attr in url_attributes:
|
for attr in url_attributes:
|
||||||
url = getattr(urls, attr)
|
url = getattr(urls, attr)
|
||||||
response = requests.get(url)
|
response = requests.get(url)
|
Loading…
Add table
Add a link
Reference in a new issue