Пример #1
0
 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)
Пример #2
0
 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)
Пример #3
0
 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)
Пример #4
0
 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)
Пример #5
0
 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)