Skip to content

Commit 77609ed

Browse files
author
Sergio García Prado
committed
ISSUE #346
* Rename `MinosTestCase` as `MinosSagaTestCase`.
1 parent 9d874c9 commit 77609ed

File tree

16 files changed

+34
-35
lines changed

16 files changed

+34
-35
lines changed

packages/core/minos-microservice-saga/tests/test_saga/test_executions/test_commit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
TransactionCommitter,
2424
)
2525
from tests.utils import (
26-
MinosTestCase,
26+
MinosSagaTestCase,
2727
)
2828

2929

30-
class TestTransactionCommitter(MinosTestCase):
30+
class TestTransactionCommitter(MinosSagaTestCase):
3131
def setUp(self) -> None:
3232
super().setUp()
3333

packages/core/minos-microservice-saga/tests/test_saga/test_executions/test_executors/test_abc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
SagaOperation,
1313
)
1414
from tests.utils import (
15-
MinosTestCase,
15+
MinosSagaTestCase,
1616
)
1717

1818

19-
class TestExecutor(MinosTestCase):
19+
class TestExecutor(MinosSagaTestCase):
2020
def setUp(self) -> None:
2121
super().setUp()
2222

packages/core/minos-microservice-saga/tests/test_saga/test_executions/test_executors/test_local.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
)
1616
from tests.utils import (
1717
Foo,
18-
MinosTestCase,
18+
MinosSagaTestCase,
1919
create_payment,
2020
create_payment_raises,
2121
)
2222

2323

24-
class TestLocalExecutor(MinosTestCase):
24+
class TestLocalExecutor(MinosSagaTestCase):
2525
def setUp(self) -> None:
2626
super().setUp()
2727

packages/core/minos-microservice-saga/tests/test_saga/test_executions/test_executors/test_request.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
)
2525
from tests.utils import (
2626
Foo,
27-
MinosTestCase,
27+
MinosSagaTestCase,
2828
send_create_product,
2929
)
3030

3131

32-
class TestRequestExecutor(MinosTestCase):
32+
class TestRequestExecutor(MinosSagaTestCase):
3333
def setUp(self) -> None:
3434
super().setUp()
3535

packages/core/minos-microservice-saga/tests/test_saga/test_executions/test_executors/test_response.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
)
1818
from tests.utils import (
1919
Foo,
20-
MinosTestCase,
20+
MinosSagaTestCase,
2121
handle_ticket_success,
2222
)
2323

2424

25-
class TestResponseExecutor(MinosTestCase):
25+
class TestResponseExecutor(MinosSagaTestCase):
2626
def setUp(self) -> None:
2727
super().setUp()
2828

packages/core/minos-microservice-saga/tests/test_saga/test_executions/test_saga/test_execute.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
)
2828
from tests.utils import (
2929
Foo,
30-
MinosTestCase,
30+
MinosSagaTestCase,
3131
handle_order_success,
3232
handle_ticket_success,
3333
handle_ticket_success_raises,
@@ -38,7 +38,7 @@
3838
)
3939

4040

41-
class TestSagaExecution(MinosTestCase):
41+
class TestSagaExecution(MinosSagaTestCase):
4242
def setUp(self) -> None:
4343
super().setUp()
4444
self.saga = (

packages/core/minos-microservice-saga/tests/test_saga/test_executions/test_saga/test_raw.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
from tests.utils import (
1818
ADD_ORDER,
1919
Foo,
20-
MinosTestCase,
20+
MinosSagaTestCase,
2121
)
2222

2323

24-
class TestSagaExecution(MinosTestCase):
24+
class TestSagaExecution(MinosSagaTestCase):
2525
def setUp(self) -> None:
2626
super().setUp()
2727
self.user = uuid4()

packages/core/minos-microservice-saga/tests/test_saga/test_executions/test_steps/test_conditional.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
)
2626
from tests.utils import (
2727
Foo,
28-
MinosTestCase,
28+
MinosSagaTestCase,
2929
handle_order_success,
3030
handle_ticket_success_raises,
3131
send_create_order,
@@ -41,7 +41,7 @@ def _is_two(context):
4141
return context["option"] == 2
4242

4343

44-
class TestConditionalSageStepExecution(MinosTestCase):
44+
class TestConditionalSageStepExecution(MinosSagaTestCase):
4545
def setUp(self) -> None:
4646
super().setUp()
4747
self.execute_kwargs = {

packages/core/minos-microservice-saga/tests/test_saga/test_executions/test_steps/test_local.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
SagaStepStatus,
1616
)
1717
from tests.utils import (
18-
MinosTestCase,
18+
MinosSagaTestCase,
1919
create_payment,
2020
create_payment_raises,
2121
delete_payment,
2222
)
2323

2424

25-
class TestLocalSagaStepExecution(MinosTestCase):
25+
class TestLocalSagaStepExecution(MinosSagaTestCase):
2626
def setUp(self) -> None:
2727
super().setUp()
2828

packages/core/minos-microservice-saga/tests/test_saga/test_executions/test_steps/test_remote.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
)
2020
from tests.utils import (
2121
Foo,
22-
MinosTestCase,
22+
MinosSagaTestCase,
2323
handle_ticket_error,
2424
handle_ticket_error_raises,
2525
handle_ticket_success,
@@ -30,7 +30,7 @@
3030
)
3131

3232

33-
class TestRemoteSagaStepExecution(MinosTestCase):
33+
class TestRemoteSagaStepExecution(MinosSagaTestCase):
3434
def setUp(self) -> None:
3535
super().setUp()
3636
self.execute_kwargs = {

0 commit comments

Comments
 (0)