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

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