예제 #1
0
    def assert_bad_request(self, params):
        target_function = MeWalletTip(params, {}, self.dynamodb, cognito=None)
        response = target_function.main()

        self.assertEqual(response['statusCode'], 400)
예제 #2
0
def lambda_handler(event, context):
    me_wallet_tip = MeWalletTip(event, context, dynamodb, cognito=cognito)
    return me_wallet_tip.main()