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())
def make_docker_file(self): package_builder.make_docker_file_rpmbuild(self.docker_image)