Skip to content

Commit f81e988

Browse files
author
Sergio García Prado
committed
ISSUE #346
* Rename `MinosTestCase` as `CommonTestCase`.
1 parent 8d4afed commit f81e988

File tree

3 files changed

+6
-6
lines changed
  • packages/core

3 files changed

+6
-6
lines changed

packages/core/minos-microservice-aggregate/tests/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
PoolFactory,
3636
)
3737
from minos.common.testing import (
38-
MinosTestCase,
38+
CommonTestCase,
3939
)
4040
from minos.networks import (
4141
BrokerClientPool,
@@ -47,7 +47,7 @@
4747
CONFIG_FILE_PATH = BASE_PATH / "test_config.yml"
4848

4949

50-
class AggregateTestCase(MinosTestCase, ABC):
50+
class AggregateTestCase(CommonTestCase, ABC):
5151
CONFIG_FILE_PATH = CONFIG_FILE_PATH
5252

5353
def get_injections(self):

packages/core/minos-microservice-common/minos/common/testing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
)
2929

3030

31-
class MinosTestCase(unittest.IsolatedAsyncioTestCase):
31+
class CommonTestCase(unittest.IsolatedAsyncioTestCase):
3232
CONFIG_FILE_PATH: Path
3333

3434
def setUp(self) -> None:
@@ -63,7 +63,7 @@ def __getattr__(self, item):
6363
raise AttributeError
6464

6565

66-
class PostgresAsyncTestCase(MinosTestCase):
66+
class PostgresAsyncTestCase(CommonTestCase):
6767
def setUp(self):
6868

6969
self._uuid = uuid4()

packages/core/minos-microservice-saga/tests/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
SetupMixin,
2323
)
2424
from minos.common.testing import (
25-
MinosTestCase,
25+
CommonTestCase,
2626
)
2727
from minos.networks import (
2828
BrokerClientPool,
@@ -41,7 +41,7 @@
4141
DB_PATH = BASE_PATH / "test_db.lmdb"
4242

4343

44-
class SagaTestCase(MinosTestCase):
44+
class SagaTestCase(CommonTestCase):
4545
CONFIG_FILE_PATH = CONFIG_FILE_PATH
4646

4747
def get_injections(self):

0 commit comments

Comments
 (0)