Skip to content

Commit

Permalink
Change repo layout (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
droserasprout authored Dec 2, 2024
1 parent 42b7e38 commit 3252cad
Show file tree
Hide file tree
Showing 44 changed files with 12 additions and 12 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions test/test_block.py → tests/test_block.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion test/test_contracts.py → tests/test_contracts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion test/test_init.py → tests/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/test_query.py → tests/test_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion test/test_query_map.py → tests/test_query_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/test_runtime_call.py → tests/test_runtime_call.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import unittest

from aiosubstrate import SubstrateInterface, Keypair
from test import settings
from tests import settings


class RuntimeCallTestCase(unittest.IsolatedAsyncioTestCase):
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/test_subscriptions.py → tests/test_subscriptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import unittest

from aiosubstrate import SubstrateInterface
from test import settings
from tests import settings


class SubscriptionsTestCase(unittest.IsolatedAsyncioTestCase):
Expand Down
2 changes: 1 addition & 1 deletion test/test_type_registry.py → tests/test_type_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 3252cad

Please sign in to comment.