コード例 #1
0
 def test_make_docker_file_rpmbuild(self):
     "test rpmbuild docker file content"
     package_builder.make_docker_file_rpmbuild(self.docker_image)
     with open(self.docker_file_rpmbuild, "r") as d_file:
         read_file_lines = d_file.readlines()
     self.assertEqual(read_file_lines, self.docker_image_lines())
コード例 #2
0
 def make_docker_file(self):
     package_builder.make_docker_file_rpmbuild(self.docker_image)