def assert_bad_request(self, params): target_function = MeWalletTip(params, {}, self.dynamodb, cognito=None) response = target_function.main() self.assertEqual(response['statusCode'], 400)
def lambda_handler(event, context): me_wallet_tip = MeWalletTip(event, context, dynamodb, cognito=cognito) return me_wallet_tip.main()