Пример #1
0
 def test_list_batch(self):
     Batch.list()
     Batch.list(LIST_BATCH_DATES)
     # Both start and end dates are required by the gateway when one is
     # provided
     self.assertRaises(AuthorizeResponseError, Batch.list,
                       LIST_BATCH_DATES_START_ONLY)
Пример #2
0
 def test_batch_details(self):
     Batch.details('2520288')
     self.assertRaises(AuthorizeResponseError, Batch.details,
                       'Bad batch ID')
Пример #3
0
 def test_list_batch(self):
     Batch.list()
     Batch.list(LIST_BATCH_DATES)
     # Both start and end dates are required by the gateway when one is
     # provided
     self.assertRaises(AuthorizeResponseError, Batch.list, LIST_BATCH_DATES_START_ONLY)
Пример #4
0
 def test_batch_details(self):
     Batch.details("2520288")
     self.assertRaises(AuthorizeResponseError, Batch.details, "Bad batch ID")
Пример #5
0
 def test_list_batch(self):
     Batch.list()
     Batch.list(LIST_BATCH_DATES)
     Batch.list(LIST_BATCH_DATES_START_ONLY)
Пример #6
0
 def test_batch_details(self):
     Batch.details('2520288')
     self.assertRaises(AuthorizeResponseError, Batch.details, 'Bad batch ID')
Пример #7
0
 def test_list_batch(self):
     Batch.list()
     Batch.list(LIST_BATCH_DATES)
     Batch.list(LIST_BATCH_DATES_START_ONLY)