Beispiel #1
0
    def test_070_redeem_points_gift_2(self):
        gift = HpsGiftCard()
        gift.alias = '9725550100'

        response = self.gift_service.sale(300)\
            .with_currency('points')\
            .with_card(gift)\
            .execute()
        self.assertIsNotNone(response)
        self.assertEqual('0', response.response_code)
Beispiel #2
0
    def test_070_redeem_points_gift_2(self):
        gift = HpsGiftCard()
        gift.alias = '9725550100'

        response = self.gift_service.sale(300)\
            .with_currency('points')\
            .with_card(gift)\
            .execute()
        self.assertIsNotNone(response)
        self.assertEqual('0', response.response_code)