コード例 #1
0
    def assert_bad_request(self, params):
        function = MeArticlesCommentsReply(params, {}, self.dynamodb)
        response = function.main()

        self.assertEqual(response['statusCode'], 400)
コード例 #2
0
def lambda_handler(event, context):
    me_articles_comments_reply = MeArticlesCommentsReply(event=event,
                                                         context=context,
                                                         dynamodb=dynamodb)
    return me_articles_comments_reply.main()