Ejemplo n.º 1
0
    def test_getFacilities_and_Facility_Names_are_in_sync_and_non_empty(self):
        facilities = config.getFacilities()
        names = config.getFacilityNames()

        self.assertTrue(len(names) > 0)
        self.assertEquals(len(names), len(facilities))
        for i in range(len(names)):
            self.assertEquals(names[i], facilities[i].name())
Ejemplo n.º 2
0
    def test_getFacilities_and_Facility_Names_are_in_sync_and_non_empty(self):
        facilities = config.getFacilities()
        names = config.getFacilityNames()

        self.assertTrue(len(names)>0)
        self.assertEquals(len(names),len(facilities))
        for i in range(len(names)):
            self.assertEquals(names[i],facilities[i].name())
Ejemplo n.º 3
0
 def test_getFacilities_Returns_A_FacilityInfo_List(self):
     facilities = config.getFacilities()
     self.assertTrue(isinstance(facilities[0], FacilityInfo))
Ejemplo n.º 4
0
 def test_getFacilities_Returns_A_FacilityInfo_List(self):
     facilities = config.getFacilities()
     self.assertTrue(isinstance(facilities[0], FacilityInfo))