summaryrefslogtreecommitdiff
path: root/services/order-executor/tests/test_executor.py
diff options
context:
space:
mode:
Diffstat (limited to 'services/order-executor/tests/test_executor.py')
-rw-r--r--services/order-executor/tests/test_executor.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/services/order-executor/tests/test_executor.py b/services/order-executor/tests/test_executor.py
index 5b18992..4836ffb 100644
--- a/services/order-executor/tests/test_executor.py
+++ b/services/order-executor/tests/test_executor.py
@@ -58,6 +58,7 @@ async def test_executor_places_order_when_risk_passes():
risk_manager=risk_manager,
broker=broker,
db=db,
+ notifier=AsyncMock(),
dry_run=False,
)
@@ -84,6 +85,7 @@ async def test_executor_rejects_when_risk_fails():
risk_manager=risk_manager,
broker=broker,
db=db,
+ notifier=AsyncMock(),
dry_run=False,
)
@@ -109,6 +111,7 @@ async def test_executor_dry_run_does_not_call_exchange():
risk_manager=risk_manager,
broker=broker,
db=db,
+ notifier=AsyncMock(),
dry_run=True,
)