def test_authorized_saved_card_update(self): address = Address('45 Rose Ave', 'Venice', 'CA', '90291') result_dict = { 'first_name': 'Jeff', 'last_name': 'Shenck', 'address': address, 'payment': PROFILE} self.client._customer.retrieve_saved_payment.return_value = result_dict self.client._customer.update_saved_payment.return_value = None saved = AuthorizeSavedCard(self.client, '1|2') saved.update(address=address)