Exemple #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)
Exemple #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)
Exemple #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)
Exemple #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)
Exemple #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)