예제 #1
0
 def test_get_allowed_methods(self):
     request = RequestFactory()
     config = AbstractAdyenConfig()
     with self.assertRaises(NotImplementedError):
         config.get_allowed_methods(request, source_type=None)
예제 #2
0
 def test_get_signer_backend(self):
     request = RequestFactory()
     config = AbstractAdyenConfig()
     with self.assertRaises(NotImplementedError):
         config.get_signer_backend(request)
예제 #3
0
 def test_get_ip_address_header(self):
     config = AbstractAdyenConfig()
     with self.assertRaises(NotImplementedError):
         config.get_ip_address_header()
예제 #4
0
 def test_get_skin_secret(self):
     request = RequestFactory()
     config = AbstractAdyenConfig()
     with self.assertRaises(NotImplementedError):
         config.get_skin_secret(request)
예제 #5
0
 def test_get_allowed_methods(self):
     request = RequestFactory()
     config = AbstractAdyenConfig()
     with self.assertRaises(NotImplementedError):
         config.get_allowed_methods(request, source_type=None)
예제 #6
0
 def test_get_ip_address_header(self):
     config = AbstractAdyenConfig()
     with self.assertRaises(NotImplementedError):
         config.get_ip_address_header()
예제 #7
0
 def test_get_signer_backend(self):
     request = RequestFactory()
     config = AbstractAdyenConfig()
     with self.assertRaises(NotImplementedError):
         config.get_signer_backend(request)
예제 #8
0
 def test_get_skin_secret(self):
     request = RequestFactory()
     config = AbstractAdyenConfig()
     with self.assertRaises(NotImplementedError):
         config.get_skin_secret(request)