Exemple #1
0
 def test_services_one_group(self):
     """Does services("fixtures") return only the services in that group?"""
     sr = EFServiceRegistry(
         service_registry_file="test_data/test_service_registry_1.json")
     self.assertEqual(len(sr.services("fixtures")), 0)
     self.assertEqual(len(sr.services("application_services")), 1)
     self.assertEqual(len(sr.services("platform_services")), 2)
 def test_services_one_group(self):
     """Does services("fixtures") return only the services in that group?"""
     sr = EFServiceRegistry(
         service_registry_file=self.service_registry_file)
     self.assertEqual(len(sr.services("fixtures")), 2)
     self.assertEqual(len(sr.services("application_services")), 1)
     self.assertEqual(len(sr.services("platform_services")), 3)
     self.assertEqual(len(sr.services("internal_services")), 1)
Exemple #3
0
 def test_services(self):
     """Does services() return all the services?"""
     sr = EFServiceRegistry(
         service_registry_file="test_data/test_service_registry_1.json")
     self.assertEqual(len(sr.services()), 4)
 def test_services(self):
     """Does services() return all the services?"""
     sr = EFServiceRegistry(
         service_registry_file=self.service_registry_file)
     self.assertEqual(len(sr.services()), 7)