def test_get_summary_push_failed(self): dockerfiles = self.__create_dockerfile_objects() dockerfiles['ms-debian-base']['push_result'] = 'Failure' self.assertFalse(build._get_summary(dockerfiles))
def test_get_summary_not_pushed(self): dockerfiles = self.__create_dockerfile_objects() dockerfiles['ms-debian-base']['push_result'] = 'Exists' dockerfiles['ms-mysql']['push_result'] = 'Exists' self.assertTrue(build._get_summary(dockerfiles))
def test_get_summary_succeeded(self): dockerfiles = self.__create_dockerfile_objects() self.assertTrue(build._get_summary(dockerfiles))