diff --git a/tests/__init__.py b/src/wormhole/test/__init__.py similarity index 100% rename from tests/__init__.py rename to src/wormhole/test/__init__.py diff --git a/tests/common.py b/src/wormhole/test/common.py similarity index 100% rename from tests/common.py rename to src/wormhole/test/common.py diff --git a/tests/test_blocking.py b/src/wormhole/test/test_blocking.py similarity index 100% rename from tests/test_blocking.py rename to src/wormhole/test/test_blocking.py diff --git a/tests/test_hkdf.py b/src/wormhole/test/test_hkdf.py similarity index 100% rename from tests/test_hkdf.py rename to src/wormhole/test/test_hkdf.py diff --git a/tests/test_interop.py b/src/wormhole/test/test_interop.py similarity index 100% rename from tests/test_interop.py rename to src/wormhole/test/test_interop.py diff --git a/tests/test_load.py b/src/wormhole/test/test_load.py similarity index 100% rename from tests/test_load.py rename to src/wormhole/test/test_load.py diff --git a/tests/test_progress.py b/src/wormhole/test/test_progress.py similarity index 100% rename from tests/test_progress.py rename to src/wormhole/test/test_progress.py diff --git a/tests/test_scripts.py b/src/wormhole/test/test_scripts.py similarity index 100% rename from tests/test_scripts.py rename to src/wormhole/test/test_scripts.py diff --git a/tests/test_server.py b/src/wormhole/test/test_server.py similarity index 100% rename from tests/test_server.py rename to src/wormhole/test/test_server.py diff --git a/tests/test_transit_twisted.py b/src/wormhole/test/test_transit_twisted.py similarity index 100% rename from tests/test_transit_twisted.py rename to src/wormhole/test/test_transit_twisted.py diff --git a/tests/test_twisted.py b/src/wormhole/test/test_twisted.py similarity index 100% rename from tests/test_twisted.py rename to src/wormhole/test/test_twisted.py