diff --git a/basicmessage_storage/basicmessage_storage/v1_0/tests/test_init.py b/basicmessage_storage/basicmessage_storage/v1_0/tests/test_init.py index c59949bd1..e6c80f07d 100644 --- a/basicmessage_storage/basicmessage_storage/v1_0/tests/test_init.py +++ b/basicmessage_storage/basicmessage_storage/v1_0/tests/test_init.py @@ -16,7 +16,7 @@ class MockConfig(BaseModel): class TestInit(IsolatedAsyncioTestCase): - async def setUp(self) -> None: + async def asyncSetUp(self) -> None: self.session_inject = {} self.context = MagicMock() self.profile = InMemoryProfile.test_profile() diff --git a/basicmessage_storage/basicmessage_storage/v1_0/tests/test_models.py b/basicmessage_storage/basicmessage_storage/v1_0/tests/test_models.py index 1164504f3..a2e0fb623 100644 --- a/basicmessage_storage/basicmessage_storage/v1_0/tests/test_models.py +++ b/basicmessage_storage/basicmessage_storage/v1_0/tests/test_models.py @@ -9,7 +9,7 @@ class TestBasicMessageRecord(IsolatedAsyncioTestCase): - async def setUp(self) -> None: + async def asyncSetUp(self) -> None: self.session = InMemoryProfile.test_session() async def test_init_creates_record_with_default_parameters(self): diff --git a/basicmessage_storage/basicmessage_storage/v1_0/tests/test_routes.py b/basicmessage_storage/basicmessage_storage/v1_0/tests/test_routes.py index 32e5b8488..9ee435166 100644 --- a/basicmessage_storage/basicmessage_storage/v1_0/tests/test_routes.py +++ b/basicmessage_storage/basicmessage_storage/v1_0/tests/test_routes.py @@ -13,7 +13,7 @@ class TestRoutes(IsolatedAsyncioTestCase): - async def setUp(self) -> None: + async def asyncSetUp(self) -> None: self.session_inject = {} self.context = AdminRequestContext.test_context(self.session_inject) self.request_dict = { diff --git a/connection_update/connection_update/v1_0/tests/test_init.py b/connection_update/connection_update/v1_0/tests/test_init.py index 17af4200f..35770db9b 100644 --- a/connection_update/connection_update/v1_0/tests/test_init.py +++ b/connection_update/connection_update/v1_0/tests/test_init.py @@ -10,7 +10,7 @@ class TestInit(IsolatedAsyncioTestCase): - async def setUp(self) -> None: + async def asyncSetUp(self) -> None: self.session_inject = {} self.context = MagicMock() self.profile = InMemoryProfile.test_profile() diff --git a/connection_update/connection_update/v1_0/tests/test_routes.py b/connection_update/connection_update/v1_0/tests/test_routes.py index 6c694e02e..f9ca9e53d 100644 --- a/connection_update/connection_update/v1_0/tests/test_routes.py +++ b/connection_update/connection_update/v1_0/tests/test_routes.py @@ -8,7 +8,7 @@ class TestRoutes(IsolatedAsyncioTestCase): - async def setUp(self) -> None: + async def asyncSetUp(self) -> None: self.session_inject = {} self.context = AdminRequestContext.test_context(self.session_inject) self.request_dict = { diff --git a/firebase_push_notifications/firebase_push_notifications/v1_0/tests/test_manager.py b/firebase_push_notifications/firebase_push_notifications/v1_0/tests/test_manager.py index 1bcc91cdf..9c28be0ed 100644 --- a/firebase_push_notifications/firebase_push_notifications/v1_0/tests/test_manager.py +++ b/firebase_push_notifications/firebase_push_notifications/v1_0/tests/test_manager.py @@ -37,7 +37,7 @@ def mock_logger(): class TestManager(IsolatedAsyncioTestCase): - async def setUp(self): + async def asyncSetUp(self): self.profile = InMemoryProfile.test_profile() self.context = self.profile.context self.test_conn_id = "connection-id" diff --git a/firebase_push_notifications/firebase_push_notifications/v1_0/tests/test_routes.py b/firebase_push_notifications/firebase_push_notifications/v1_0/tests/test_routes.py index b9445ef94..9b585db90 100644 --- a/firebase_push_notifications/firebase_push_notifications/v1_0/tests/test_routes.py +++ b/firebase_push_notifications/firebase_push_notifications/v1_0/tests/test_routes.py @@ -11,7 +11,7 @@ class TestRoutes(IsolatedAsyncioTestCase): - async def setUp(self) -> None: + async def asyncSetUp(self) -> None: self.session_inject = {} self.context = AdminRequestContext.test_context(self.session_inject) self.request_dict = {"context": self.context} diff --git a/multitenant_provider/multitenant_provider/v1_0/tests/test_init.py b/multitenant_provider/multitenant_provider/v1_0/tests/test_init.py index a8b703185..ed794601b 100644 --- a/multitenant_provider/multitenant_provider/v1_0/tests/test_init.py +++ b/multitenant_provider/multitenant_provider/v1_0/tests/test_init.py @@ -10,7 +10,7 @@ class TestInit(IsolatedAsyncioTestCase): - async def setUp(self) -> None: + async def asyncSetUp(self) -> None: self.session_inject = {} self.context = MagicMock() self.profile = InMemoryProfile.test_profile() diff --git a/multitenant_provider/multitenant_provider/v1_0/tests/test_manager.py b/multitenant_provider/multitenant_provider/v1_0/tests/test_manager.py index 7894fa180..2c1a38b2b 100644 --- a/multitenant_provider/multitenant_provider/v1_0/tests/test_manager.py +++ b/multitenant_provider/multitenant_provider/v1_0/tests/test_manager.py @@ -48,7 +48,7 @@ def __init__(self, requires_key: bool) -> None: class TestMulittokenHandler(IsolatedAsyncioTestCase): - async def setUp(self) -> None: + async def asyncSetUp(self) -> None: self.session_inject = {} self.manager = MagicMock() self.get_profile = lambda: InMemoryProfile.test_profile() diff --git a/multitenant_provider/multitenant_provider/v1_0/tests/test_models.py b/multitenant_provider/multitenant_provider/v1_0/tests/test_models.py index 712b7f298..0de1a9b48 100644 --- a/multitenant_provider/multitenant_provider/v1_0/tests/test_models.py +++ b/multitenant_provider/multitenant_provider/v1_0/tests/test_models.py @@ -8,7 +8,7 @@ class TestModels(IsolatedAsyncioTestCase): - def setUp(self) -> None: + async def asyncSetUp(self) -> None: self.profile = InMemoryProfile.test_profile() @patch.object( diff --git a/multitenant_provider/multitenant_provider/v1_0/tests/test_provider.py b/multitenant_provider/multitenant_provider/v1_0/tests/test_provider.py index fb251ea5a..c79d11b91 100644 --- a/multitenant_provider/multitenant_provider/v1_0/tests/test_provider.py +++ b/multitenant_provider/multitenant_provider/v1_0/tests/test_provider.py @@ -11,7 +11,7 @@ class TestProvider(IsolatedAsyncioTestCase): - async def setUp(self) -> None: + async def asyncSetUp(self) -> None: self.profile = InMemoryProfile.test_profile() self.profile.inject = Mock() self.profile.inject.return_value = MultitenantProviderConfig( diff --git a/multitenant_provider/multitenant_provider/v1_0/tests/test_routes.py b/multitenant_provider/multitenant_provider/v1_0/tests/test_routes.py index 55f9cff65..7efbb1eff 100644 --- a/multitenant_provider/multitenant_provider/v1_0/tests/test_routes.py +++ b/multitenant_provider/multitenant_provider/v1_0/tests/test_routes.py @@ -38,7 +38,7 @@ class MockWalletRecordRequiresExternalKey: class TestRoutes(IsolatedAsyncioTestCase): - async def setUp(self) -> None: + async def asyncSetUp(self) -> None: self.session_inject = {} self.profile = InMemoryProfile.test_profile() mock_session = MagicMock() diff --git a/redis_events/redis_events/v1_0/redis_queue/tests/test_events.py b/redis_events/redis_events/v1_0/redis_queue/tests/test_events.py index 9a615a8fd..4fc428f21 100755 --- a/redis_events/redis_events/v1_0/redis_queue/tests/test_events.py +++ b/redis_events/redis_events/v1_0/redis_queue/tests/test_events.py @@ -71,7 +71,7 @@ class TestRedisEvents(IsolatedAsyncioTestCase): - def setUp(self): + async def asyncSetUp(self): self.port = unused_port() self.session = None self.profile = InMemoryProfile.test_profile() diff --git a/redis_events/redis_events/v1_0/redis_queue/tests/test_inbound.py b/redis_events/redis_events/v1_0/redis_queue/tests/test_inbound.py index 2aa2bef45..3af6daac4 100755 --- a/redis_events/redis_events/v1_0/redis_queue/tests/test_inbound.py +++ b/redis_events/redis_events/v1_0/redis_queue/tests/test_inbound.py @@ -90,7 +90,7 @@ class TestRedisInbound(IsolatedAsyncioTestCase): - def setUp(self): + async def asyncSetUp(self): self.port = unused_port() self.session = None self.profile = InMemoryProfile.test_profile() diff --git a/redis_events/redis_events/v1_0/redis_queue/tests/test_outbound.py b/redis_events/redis_events/v1_0/redis_queue/tests/test_outbound.py index 0c6fd3b9f..40e6d3cc3 100755 --- a/redis_events/redis_events/v1_0/redis_queue/tests/test_outbound.py +++ b/redis_events/redis_events/v1_0/redis_queue/tests/test_outbound.py @@ -84,7 +84,7 @@ class TestRedisOutbound(IsolatedAsyncioTestCase): - def setUp(self): + async def asyncSetUp(self): self.port = unused_port() self.session = None self.profile = InMemoryProfile.test_profile() diff --git a/rpc/rpc/v1_0/tests/test_routes.py b/rpc/rpc/v1_0/tests/test_routes.py index 87e05d652..cdf5ddba7 100644 --- a/rpc/rpc/v1_0/tests/test_routes.py +++ b/rpc/rpc/v1_0/tests/test_routes.py @@ -39,7 +39,7 @@ def __init__(self, connection_id, is_ready): class TestDRPCRoutes(IsolatedAsyncioTestCase): - def setUp(self): + async def asyncSetUp(self): self.session_inject = {} self.storage = MagicMock()