Skip to content

Commit 8e321cc

Browse files
committed
test: add StepFunctions mocking
1 parent 547065c commit 8e321cc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

unicorn_properties/tests/unit/conftest.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import boto3
77

88
import pytest
9-
from moto import mock_dynamodb, mock_events
9+
from moto import mock_dynamodb, mock_events, mock_stepfunctions
1010

1111

1212
@pytest.fixture(scope='function')
@@ -28,3 +28,9 @@ def dynamodb(aws_credentials):
2828
def eventbridge(aws_credentials):
2929
with mock_events():
3030
yield boto3.client('events', region_name='ap-southeast-2')
31+
32+
33+
@pytest.fixture(scope='function')
34+
def stepfunction(aws_credentials):
35+
with mock_stepfunctions():
36+
yield boto3.client("stepfunctions")

0 commit comments

Comments
 (0)