Beispiel #1
0
 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))
Beispiel #2
0
 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))
Beispiel #3
0
 def test_get_summary_succeeded(self):
     dockerfiles = self.__create_dockerfile_objects()
     self.assertTrue(build._get_summary(dockerfiles))
Beispiel #4
0
 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))
Beispiel #5
0
 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))
Beispiel #6
0
 def test_get_summary_succeeded(self):
     dockerfiles = self.__create_dockerfile_objects()
     self.assertTrue(build._get_summary(dockerfiles))