コード例 #1
0
def lambda_handler(event, context):
    users_articles_public = UsersArticlesPublic(event, context, dynamodb)
    return users_articles_public.main()
コード例 #2
0
    def assert_bad_request(self, params):
        function = UsersArticlesPublic(params, {}, self.dynamodb)
        response = function.main()

        self.assertEqual(response['statusCode'], 400)