예제 #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)