示例#1
0
 def test_get_payment_methods_invalid(self):
     globee_payment = GlobeePayment()
     with self.assertRaises(ValidationError):
         globee_payment.get_payment_methods()
示例#2
0
 def test_get_payment_methods_valid(self):
     globee_payment = GlobeePayment()
     response = globee_payment.get_payment_methods()
     self.assertIsInstance(response, list)