Lines Matching refs:img_path
168 def __verify_pub_cfg(self, img_path, prefix, pub_cfg):
175 img = image.Image(img_path, should_exist=True,
213 img_path = os.path.join(self.test_root, "test_4_img")
216 self.rurl1, img_path))
217 shutil.rmtree(img_path)
230 mirrors, origins, img_path))
232 self.pkg("-R {0} publisher | grep origin.*{1}".format(img_path,
236 img_path, u))
238 img_path, u))
239 shutil.rmtree(img_path, True)
246 use-system-repo=true {0}".format(img_path))
247 shutil.rmtree(img_path)
264 mirrors, origins, img_path))
266 self.pkg("-R {0} publisher | grep origin.*{1}".format(img_path,
270 img_path, u))
272 img_path, u))
273 shutil.rmtree(img_path, True)
277 self.pkg("image-create -p {0} {1}".format(self.rurl1, img_path))
282 self.__verify_pub_cfg(img_path, "test1", pub_cfg)
283 shutil.rmtree(img_path)
287 self.pkg("image-create -p test1={0} {1}".format(self.rurl1, img_path))
292 self.__verify_pub_cfg(img_path, "test1", pub_cfg)
293 shutil.rmtree(img_path)
298 self.rurl1, self.rurl3, self.durl5, img_path))
306 self.__verify_pub_cfg(img_path, "test1", pub_cfg)
307 shutil.rmtree(img_path)
350 img_path = "test_6_image"
351 abs_img_path = os.path.join(self.test_root, img_path)
358 img_path))
361 img_path)))
367 os.mkdir(img_path)
369 img_path))
372 img_path)))
465 img_key_path = os.path.join(self.img_path(), "var", "pkg",
468 img_cert_path = os.path.join(self.img_path(), "var", "pkg",
472 img_path = os.path.join(self.test_root, "img")
477 cert_path, img_path), exit=1)
482 self.bogus_url, key_path, cert_path, img_path), exit=1)
487 self.bogus_url, key_path, cert_path, img_path), exit=0)
488 shutil.rmtree(img_path)
493 self.bogus_url, key_path, cert_path, img_path), exit=0)
494 shutil.rmtree(img_path)