Exemple #1
0
def lambda_handler(event, context):
    me_articles_public_unpublish = MeArticlesPublicUnpublish(
        event, context, dynamodb)
    return me_articles_public_unpublish.main()
    def assert_bad_request(self, params):
        function = MeArticlesPublicUnpublish(params, {}, self.dynamodb)
        response = function.main()

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