diff --git a/tests/__init__.py b/aider/tests/__init__.py similarity index 100% rename from tests/__init__.py rename to aider/tests/__init__.py diff --git a/tests/test_coder.py b/aider/tests/test_coder.py similarity index 100% rename from tests/test_coder.py rename to aider/tests/test_coder.py diff --git a/tests/test_commands.py b/aider/tests/test_commands.py similarity index 100% rename from tests/test_commands.py rename to aider/tests/test_commands.py diff --git a/tests/test_editblock.py b/aider/tests/test_editblock.py similarity index 100% rename from tests/test_editblock.py rename to aider/tests/test_editblock.py diff --git a/tests/test_io.py b/aider/tests/test_io.py similarity index 100% rename from tests/test_io.py rename to aider/tests/test_io.py diff --git a/tests/test_main.py b/aider/tests/test_main.py similarity index 100% rename from tests/test_main.py rename to aider/tests/test_main.py diff --git a/tests/test_models.py b/aider/tests/test_models.py similarity index 100% rename from tests/test_models.py rename to aider/tests/test_models.py diff --git a/tests/test_repo.py b/aider/tests/test_repo.py similarity index 100% rename from tests/test_repo.py rename to aider/tests/test_repo.py diff --git a/tests/test_repomap.py b/aider/tests/test_repomap.py similarity index 100% rename from tests/test_repomap.py rename to aider/tests/test_repomap.py diff --git a/tests/test_sendchat.py b/aider/tests/test_sendchat.py similarity index 100% rename from tests/test_sendchat.py rename to aider/tests/test_sendchat.py diff --git a/tests/test_udiff.py b/aider/tests/test_udiff.py similarity index 100% rename from tests/test_udiff.py rename to aider/tests/test_udiff.py diff --git a/tests/test_urls.py b/aider/tests/test_urls.py similarity index 63% rename from tests/test_urls.py rename to aider/tests/test_urls.py index 5bb9aa7a3..9ea6259c0 100644 --- a/tests/test_urls.py +++ b/aider/tests/test_urls.py @@ -1,8 +1,14 @@ 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("__")] + 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) diff --git a/tests/test_wholefile.py b/aider/tests/test_wholefile.py similarity index 100% rename from tests/test_wholefile.py rename to aider/tests/test_wholefile.py