Skip to content

Commit 52ea532

Browse files
authored
Merge failure between #64 and #65 (#70)
1 parent 4951736 commit 52ea532

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/lib/resource_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def test_entrypoint_success():
104104
def test_entrypoint_non_mutating_action():
105105
payload = ENTRYPOINT_PAYLOAD.copy()
106106
payload["action"] = "READ"
107-
resource = Resource(Mock())
107+
resource = Resource(TYPE_NAME, Mock())
108108
event = ProgressEvent(status=OperationStatus.SUCCESS, message="")
109109
resource.handler(Action.CREATE)(Mock(return_value=event))
110110

@@ -122,7 +122,7 @@ def test_entrypoint_non_mutating_action():
122122
def test_entrypoint_with_context():
123123
payload = ENTRYPOINT_PAYLOAD.copy()
124124
payload["requestContext"] = {"a": "b"}
125-
resource = Resource(Mock())
125+
resource = Resource(TYPE_NAME, Mock())
126126
event = ProgressEvent(
127127
status=OperationStatus.SUCCESS, message="", callbackContext={"c": "d"}
128128
)

0 commit comments

Comments
 (0)