Example #1
0
 def test_image_not_exist(self):
     res = image_checker._is_docker_image_valid(self.config)
     self.assertEqual(res, False)
Example #2
0
 def test_image_auth(self):
     res = image_checker._is_docker_image_valid(self.config)
     self.assertEqual(res, True)
Example #3
0
 def test_image_without_username_tag(self):
     res = image_checker._is_docker_image_valid(self.config)
     self.assertEqual(res, True)