def assert_bad_request(self, params): function = MeArticlesDraftsShow(params, {}, self.dynamodb) response = function.main() self.assertEqual(response['statusCode'], 400)
def lambda_handler(event, context): me_articles_drafts_show = MeArticlesDraftsShow(event, context, dynamodb) return me_articles_drafts_show.main()