File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ def test_entrypoint_success():
104104def 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():
122122def 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 )
You can’t perform that action at this time.
0 commit comments