diff --git a/deluge/tests/__init__.py b/deluge/tests/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/common.py b/deluge/tests/common.py similarity index 100% rename from tests/common.py rename to deluge/tests/common.py diff --git a/tests/deluge.png b/deluge/tests/deluge.png similarity index 100% rename from tests/deluge.png rename to deluge/tests/deluge.png diff --git a/tests/google.ico b/deluge/tests/google.ico similarity index 100% rename from tests/google.ico rename to deluge/tests/google.ico diff --git a/tests/openbt.png b/deluge/tests/openbt.png similarity index 100% rename from tests/openbt.png rename to deluge/tests/openbt.png diff --git a/tests/publicbt.ico b/deluge/tests/publicbt.ico similarity index 100% rename from tests/publicbt.ico rename to deluge/tests/publicbt.ico diff --git a/tests/test.torrent b/deluge/tests/test.torrent similarity index 100% rename from tests/test.torrent rename to deluge/tests/test.torrent diff --git a/tests/test_alertmanager.py b/deluge/tests/test_alertmanager.py similarity index 100% rename from tests/test_alertmanager.py rename to deluge/tests/test_alertmanager.py diff --git a/tests/test_authmanager.py b/deluge/tests/test_authmanager.py similarity index 100% rename from tests/test_authmanager.py rename to deluge/tests/test_authmanager.py diff --git a/tests/test_client.py b/deluge/tests/test_client.py similarity index 100% rename from tests/test_client.py rename to deluge/tests/test_client.py diff --git a/tests/test_common.py b/deluge/tests/test_common.py similarity index 100% rename from tests/test_common.py rename to deluge/tests/test_common.py diff --git a/tests/test_component.py b/deluge/tests/test_component.py similarity index 100% rename from tests/test_component.py rename to deluge/tests/test_component.py diff --git a/tests/test_config.py b/deluge/tests/test_config.py similarity index 100% rename from tests/test_config.py rename to deluge/tests/test_config.py diff --git a/tests/test_core.py b/deluge/tests/test_core.py similarity index 100% rename from tests/test_core.py rename to deluge/tests/test_core.py diff --git a/tests/test_decorators.py b/deluge/tests/test_decorators.py similarity index 100% rename from tests/test_decorators.py rename to deluge/tests/test_decorators.py diff --git a/tests/test_httpdownloader.py b/deluge/tests/test_httpdownloader.py similarity index 100% rename from tests/test_httpdownloader.py rename to deluge/tests/test_httpdownloader.py diff --git a/tests/test_maketorrent.py b/deluge/tests/test_maketorrent.py similarity index 100% rename from tests/test_maketorrent.py rename to deluge/tests/test_maketorrent.py diff --git a/tests/test_plugin_metadata.py b/deluge/tests/test_plugin_metadata.py similarity index 100% rename from tests/test_plugin_metadata.py rename to deluge/tests/test_plugin_metadata.py diff --git a/tests/test_sessionproxy.py b/deluge/tests/test_sessionproxy.py similarity index 100% rename from tests/test_sessionproxy.py rename to deluge/tests/test_sessionproxy.py diff --git a/tests/test_tracker_icons.py b/deluge/tests/test_tracker_icons.py similarity index 100% rename from tests/test_tracker_icons.py rename to deluge/tests/test_tracker_icons.py