Ejemplo n.º 1
0
 def setUp(self):
     # it is not intended just for docker, but just docker packages are
     # actually properly signed
     self.helpmd = helpfile_linter.HelpMDLinter()
     self.dp = dockerlinter.DockerfileLinter()
     if self.helpmd.help_md is None or self.dp.dockerfile is None:
         self.cancel("Help file or Dockerfile was not found")
Ejemplo n.º 2
0
 def setUp(self):
     # it is not intended just for docker, but just docker packages are
     # actually properly signed
     self.dp = dockerlinter.DockerfileLinter()
     if self.dp.dockerfile is None:
         dir_name = os.getcwd()
         self.log.info("Dockerfile was not found in %s directory." %
                       dir_name)
         self.skip()
Ejemplo n.º 3
0
 def setUp(self):
     # it is not intended just for docker, but just docker packages are
     # actually properly signed
     self.dp = dockerlinter.DockerfileLinter()
     if self.dp.dockerfile is None:
         dir_name = os.getcwd()
         self.log.info("Dockerfile was not found in %s directory." %
                       dir_name)
         self.skip()
     self.helpmd = helpfile_linter.HelpMDLinter(
         dockerfile=self.dp.dockerfile)
     if self.helpmd.help_md is None:
         self.log.info("help.md file was not found in Dockerfile directory")
         self.skip("help.md file was not found in Dockerfile directory")
Ejemplo n.º 4
0
 def setUp(self):
     # it is not intended just for docker, but just docker packages are
     # actually properly signed
     self.dp = dockerlinter.DockerfileLinter(os.path.join(os.getcwd(), ".."))
     if self.dp.dockerfile is None:
         self.skip()
Ejemplo n.º 5
0
 def setUp(self):
     # it is not intended just for docker, but just docker packages are
     # actually properly signed
     self.dp = dockerlinter.DockerfileLinter()
     if self.dp.dockerfile is None:
         self.cancel("Dockerfile was not found")