Esempio n. 1
0
 def test_service_name_url_none(self):
     url = None
     service = request_helper.service_name(url)
     self.assertEqual(service, None)
Esempio n. 2
0
 def test_service_name_return_sequence(self):
     url = "www.testing.test/sequence"
     service = request_helper.service_name(url)
     self.assertEqual(service, 'SDX_SEQUENCE')
Esempio n. 3
0
 def test_service_name_return_none(self):
     url = "www.testing.test/test/12345"
     service = request_helper.service_name(url)
     self.assertEqual(service, None)
 def test_service_name_return_common_software(self):
     url = "www.testing.test/cora/12345"
     service = request_helper.service_name(url)
     self.assertEqual(service, 'SDX_TRANSFORM_CORA')
Esempio n. 5
0
 def test_service_name_return_responses(self):
     url = "www.testing.test/responses/12345"
     service = request_helper.service_name(url)
     self.assertEqual(service, 'SDX_STORE')
 def test_service_name_url_none(self):
     url = None
     service = request_helper.service_name(url)
     self.assertEqual(service, None)
 def test_service_name_return_none(self):
     url = "www.testing.test/test/12345"
     service = request_helper.service_name(url)
     self.assertEqual(service, None)
 def test_service_name_return_common_software(self):
     url = "www.testing.test/common-software/12345"
     service = request_helper.service_name(url)
     self.assertEqual(service, 'SDX_TRANSFORM_CS')
 def test_service_name_return_sequence(self):
     url = "www.testing.test/sequence"
     service = request_helper.service_name(url)
     self.assertEqual(service, 'SDX_SEQUENCE')
 def test_service_name_return_responses(self):
     url = "www.testing.test/responses/12345"
     service = request_helper.service_name(url)
     self.assertEqual(service, 'SDX_STORE')