diff --git a/aiosubstrate/__init__.py b/src/aiosubstrate/aiosubstrate/__init__.py similarity index 100% rename from aiosubstrate/__init__.py rename to src/aiosubstrate/aiosubstrate/__init__.py diff --git a/aiosubstrate/base.py b/src/aiosubstrate/aiosubstrate/base.py similarity index 100% rename from aiosubstrate/base.py rename to src/aiosubstrate/aiosubstrate/base.py diff --git a/aiosubstrate/constants.py b/src/aiosubstrate/aiosubstrate/constants.py similarity index 100% rename from aiosubstrate/constants.py rename to src/aiosubstrate/aiosubstrate/constants.py diff --git a/aiosubstrate/contracts.py b/src/aiosubstrate/aiosubstrate/contracts.py similarity index 100% rename from aiosubstrate/contracts.py rename to src/aiosubstrate/aiosubstrate/contracts.py diff --git a/aiosubstrate/exceptions.py b/src/aiosubstrate/aiosubstrate/exceptions.py similarity index 100% rename from aiosubstrate/exceptions.py rename to src/aiosubstrate/aiosubstrate/exceptions.py diff --git a/aiosubstrate/extensions.py b/src/aiosubstrate/aiosubstrate/extensions.py similarity index 100% rename from aiosubstrate/extensions.py rename to src/aiosubstrate/aiosubstrate/extensions.py diff --git a/aiosubstrate/interfaces.py b/src/aiosubstrate/aiosubstrate/interfaces.py similarity index 100% rename from aiosubstrate/interfaces.py rename to src/aiosubstrate/aiosubstrate/interfaces.py diff --git a/aiosubstrate/key.py b/src/aiosubstrate/aiosubstrate/key.py similarity index 100% rename from aiosubstrate/key.py rename to src/aiosubstrate/aiosubstrate/key.py diff --git a/aiosubstrate/keypair.py b/src/aiosubstrate/aiosubstrate/keypair.py similarity index 100% rename from aiosubstrate/keypair.py rename to src/aiosubstrate/aiosubstrate/keypair.py diff --git a/aiosubstrate/storage.py b/src/aiosubstrate/aiosubstrate/storage.py similarity index 100% rename from aiosubstrate/storage.py rename to src/aiosubstrate/aiosubstrate/storage.py diff --git a/aiosubstrate/utils/__init__.py b/src/aiosubstrate/aiosubstrate/utils/__init__.py similarity index 100% rename from aiosubstrate/utils/__init__.py rename to src/aiosubstrate/aiosubstrate/utils/__init__.py diff --git a/aiosubstrate/utils/caching.py b/src/aiosubstrate/aiosubstrate/utils/caching.py similarity index 100% rename from aiosubstrate/utils/caching.py rename to src/aiosubstrate/aiosubstrate/utils/caching.py diff --git a/aiosubstrate/utils/ecdsa_helpers.py b/src/aiosubstrate/aiosubstrate/utils/ecdsa_helpers.py similarity index 100% rename from aiosubstrate/utils/ecdsa_helpers.py rename to src/aiosubstrate/aiosubstrate/utils/ecdsa_helpers.py diff --git a/aiosubstrate/utils/encrypted_json.py b/src/aiosubstrate/aiosubstrate/utils/encrypted_json.py similarity index 100% rename from aiosubstrate/utils/encrypted_json.py rename to src/aiosubstrate/aiosubstrate/utils/encrypted_json.py diff --git a/aiosubstrate/utils/hasher.py b/src/aiosubstrate/aiosubstrate/utils/hasher.py similarity index 100% rename from aiosubstrate/utils/hasher.py rename to src/aiosubstrate/aiosubstrate/utils/hasher.py diff --git a/aiosubstrate/utils/ss58.py b/src/aiosubstrate/aiosubstrate/utils/ss58.py similarity index 100% rename from aiosubstrate/utils/ss58.py rename to src/aiosubstrate/aiosubstrate/utils/ss58.py diff --git a/test/__init__.py b/tests/__init__.py similarity index 100% rename from test/__init__.py rename to tests/__init__.py diff --git a/test/fixtures.py b/tests/fixtures.py similarity index 100% rename from test/fixtures.py rename to tests/fixtures.py diff --git a/test/fixtures/erc20-v0.json b/tests/fixtures/erc20-v0.json similarity index 100% rename from test/fixtures/erc20-v0.json rename to tests/fixtures/erc20-v0.json diff --git a/test/fixtures/erc20-v1.json b/tests/fixtures/erc20-v1.json similarity index 100% rename from test/fixtures/erc20-v1.json rename to tests/fixtures/erc20-v1.json diff --git a/test/fixtures/erc20-v3.json b/tests/fixtures/erc20-v3.json similarity index 100% rename from test/fixtures/erc20-v3.json rename to tests/fixtures/erc20-v3.json diff --git a/test/fixtures/flipper-v3.json b/tests/fixtures/flipper-v3.json similarity index 100% rename from test/fixtures/flipper-v3.json rename to tests/fixtures/flipper-v3.json diff --git a/test/fixtures/flipper-v4.json b/tests/fixtures/flipper-v4.json similarity index 100% rename from test/fixtures/flipper-v4.json rename to tests/fixtures/flipper-v4.json diff --git a/test/fixtures/flipper-v5.json b/tests/fixtures/flipper-v5.json similarity index 100% rename from test/fixtures/flipper-v5.json rename to tests/fixtures/flipper-v5.json diff --git a/test/fixtures/incorrect_metadata.json b/tests/fixtures/incorrect_metadata.json similarity index 100% rename from test/fixtures/incorrect_metadata.json rename to tests/fixtures/incorrect_metadata.json diff --git a/test/fixtures/metadata_hex.json b/tests/fixtures/metadata_hex.json similarity index 100% rename from test/fixtures/metadata_hex.json rename to tests/fixtures/metadata_hex.json diff --git a/test/fixtures/polkadotjs_encrypted.json b/tests/fixtures/polkadotjs_encrypted.json similarity index 100% rename from test/fixtures/polkadotjs_encrypted.json rename to tests/fixtures/polkadotjs_encrypted.json diff --git a/test/fixtures/polkadotjs_encrypted_ed25519.json b/tests/fixtures/polkadotjs_encrypted_ed25519.json similarity index 100% rename from test/fixtures/polkadotjs_encrypted_ed25519.json rename to tests/fixtures/polkadotjs_encrypted_ed25519.json diff --git a/test/fixtures/unsupported_type_metadata.json b/tests/fixtures/unsupported_type_metadata.json similarity index 100% rename from test/fixtures/unsupported_type_metadata.json rename to tests/fixtures/unsupported_type_metadata.json diff --git a/test/settings.py b/tests/settings.py similarity index 100% rename from test/settings.py rename to tests/settings.py diff --git a/test/test_block.py b/tests/test_block.py similarity index 99% rename from test/test_block.py rename to tests/test_block.py index 239ed4d..4255f19 100644 --- a/test/test_block.py +++ b/tests/test_block.py @@ -17,13 +17,13 @@ import unittest from unittest.mock import AsyncMock -from test import settings +from tests import settings from scalecodec.exceptions import RemainingScaleBytesNotEmptyException # type: ignore[import-untyped] from aiosubstrate import SubstrateInterface -from test.fixtures import metadata_node_template_hex +from tests.fixtures import metadata_node_template_hex from scalecodec.base import ScaleBytes # type: ignore[import-untyped] from scalecodec.types import Vec, GenericAddress # type: ignore[import-untyped] diff --git a/test/test_contracts.py b/tests/test_contracts.py similarity index 99% rename from test/test_contracts.py rename to tests/test_contracts.py index cca8e49..6de85fe 100644 --- a/test/test_contracts.py +++ b/tests/test_contracts.py @@ -20,7 +20,7 @@ from scalecodec import ScaleBytes # type: ignore[import-untyped] from aiosubstrate import SubstrateInterface, ContractMetadata, ContractInstance, Keypair, ContractEvent from aiosubstrate.exceptions import ContractMetadataParseException -from test import settings +from tests import settings class ContractMetadataTestCase(unittest.IsolatedAsyncioTestCase): diff --git a/test/test_create_extrinsics.py b/tests/test_create_extrinsics.py similarity index 99% rename from test/test_create_extrinsics.py rename to tests/test_create_extrinsics.py index 1d6ee3b..3ab91b4 100644 --- a/test/test_create_extrinsics.py +++ b/tests/test_create_extrinsics.py @@ -19,7 +19,7 @@ from scalecodec.type_registry import load_type_registry_file # type: ignore[import-untyped] from aiosubstrate import SubstrateInterface, Keypair, ExtrinsicReceipt from aiosubstrate.exceptions import SubstrateRequestException -from test import settings +from tests import settings class CreateExtrinsicsTestCase(unittest.IsolatedAsyncioTestCase): diff --git a/test/test_extension_interface.py b/tests/test_extension_interface.py similarity index 98% rename from test/test_extension_interface.py rename to tests/test_extension_interface.py index 0aad625..aba63d1 100644 --- a/test/test_extension_interface.py +++ b/tests/test_extension_interface.py @@ -21,7 +21,7 @@ from aiosubstrate import SubstrateInterface from aiosubstrate.exceptions import ExtensionCallNotFound from aiosubstrate.extensions import SubstrateNodeExtension -from test import settings +from tests import settings class ExtensionsTestCase(unittest.IsolatedAsyncioTestCase): diff --git a/test/test_helper_functions.py b/tests/test_helper_functions.py similarity index 99% rename from test/test_helper_functions.py rename to tests/test_helper_functions.py index 6b255b9..714e308 100644 --- a/test/test_helper_functions.py +++ b/tests/test_helper_functions.py @@ -22,7 +22,7 @@ from aiosubstrate.exceptions import SubstrateRequestException from scalecodec.base import ScaleBytes # type: ignore[import-untyped] from aiosubstrate import SubstrateInterface, Keypair -from test.settings import POLKADOT_NODE_URL +from tests.settings import POLKADOT_NODE_URL class TestHelperFunctions(unittest.IsolatedAsyncioTestCase): diff --git a/test/test_init.py b/tests/test_init.py similarity index 99% rename from test/test_init.py rename to tests/test_init.py index f2b1613..7cb4ef1 100644 --- a/test/test_init.py +++ b/tests/test_init.py @@ -19,7 +19,7 @@ from scalecodec import ScaleBytes # type: ignore[import-untyped] from scalecodec.exceptions import RemainingScaleBytesNotEmptyException # type: ignore[import-untyped] from aiosubstrate import SubstrateInterface -from test import settings +from tests import settings class TestInit(unittest.IsolatedAsyncioTestCase): diff --git a/test/test_keypair.py b/tests/test_keypair.py similarity index 100% rename from test/test_keypair.py rename to tests/test_keypair.py diff --git a/test/test_query.py b/tests/test_query.py similarity index 99% rename from test/test_query.py rename to tests/test_query.py index 384e1e0..a1bbd7f 100644 --- a/test/test_query.py +++ b/tests/test_query.py @@ -18,7 +18,7 @@ from aiosubstrate import SubstrateInterface from aiosubstrate.exceptions import StorageFunctionNotFound -from test import settings +from tests import settings class QueryTestCase(unittest.IsolatedAsyncioTestCase): diff --git a/test/test_query_map.py b/tests/test_query_map.py similarity index 99% rename from test/test_query_map.py rename to tests/test_query_map.py index 4bc4b0c..70d8d0a 100644 --- a/test/test_query_map.py +++ b/tests/test_query_map.py @@ -22,7 +22,7 @@ from aiosubstrate.exceptions import SubstrateRequestException from aiosubstrate import SubstrateInterface -from test import settings +from tests import settings class QueryMapTestCase(unittest.IsolatedAsyncioTestCase): diff --git a/test/test_rpc_compatibility.py b/tests/test_rpc_compatibility.py similarity index 100% rename from test/test_rpc_compatibility.py rename to tests/test_rpc_compatibility.py diff --git a/test/test_runtime_call.py b/tests/test_runtime_call.py similarity index 99% rename from test/test_runtime_call.py rename to tests/test_runtime_call.py index 8ba8c68..f515235 100644 --- a/test/test_runtime_call.py +++ b/tests/test_runtime_call.py @@ -17,7 +17,7 @@ import unittest from aiosubstrate import SubstrateInterface, Keypair -from test import settings +from tests import settings class RuntimeCallTestCase(unittest.IsolatedAsyncioTestCase): diff --git a/test/test_ss58.py b/tests/test_ss58.py similarity index 100% rename from test/test_ss58.py rename to tests/test_ss58.py diff --git a/test/test_subscriptions.py b/tests/test_subscriptions.py similarity index 98% rename from test/test_subscriptions.py rename to tests/test_subscriptions.py index 452a6d9..b350397 100644 --- a/test/test_subscriptions.py +++ b/tests/test_subscriptions.py @@ -17,7 +17,7 @@ import unittest from aiosubstrate import SubstrateInterface -from test import settings +from tests import settings class SubscriptionsTestCase(unittest.IsolatedAsyncioTestCase): diff --git a/test/test_type_registry.py b/tests/test_type_registry.py similarity index 99% rename from test/test_type_registry.py rename to tests/test_type_registry.py index b3b66a8..2b69a12 100644 --- a/test/test_type_registry.py +++ b/tests/test_type_registry.py @@ -20,7 +20,7 @@ from scalecodec.type_registry import load_type_registry_file, load_type_registry_preset # type: ignore[import-untyped] from aiosubstrate import SubstrateInterface, Keypair, KeypairType -from test import settings +from tests import settings class KusamaTypeRegistryTestCase(unittest.IsolatedAsyncioTestCase):