def test_shortcut(self): try: from testdata import sandbox_receipt except ImportError: print('No receipt data to test') return mode = itunesiap.get_verification_mode() itunesiap.set_verification_mode('sandbox') itunesiap.verify(sandbox_receipt) itunesiap.set_verification_mode(mode)
def test_shortcut(self): sandbox_receipt = LEGACY_RAW_RECEIPT mode = itunesiap.get_verification_mode() itunesiap.set_verification_mode('sandbox') itunesiap.verify(sandbox_receipt) itunesiap.set_verification_mode(mode)
def test_shortcut(self): sandbox_receipt = raw_receipt_legacy() mode = itunesiap.get_verification_mode() itunesiap.set_verification_mode('sandbox') itunesiap.verify(sandbox_receipt) itunesiap.set_verification_mode(mode)