Lines Matching refs:path
70 return os.path.join(base_path, DeccVariable.cur_case().suite_name, DeccVariable.cur_case().name)
76 if os.path.isfile(picture_name):
77 folder = os.path.dirname(picture_name)
79 return picture_name, os.path.basename(picture_name)
102 fol_path = os.path.join(folder, save_name)
118 def _do_capture(cls, _device, link, path, title, ext=".png"):
126 link, path = _device.capture(link, path, ext)
128 cls.compress_image(path)
131 if path and link:
135 '</a>'.format(link, path, cls.resize_image(path), title, link))
136 return path, link
145 path, link = cls.get_image_dir_path(_device, name, ext, exe_type=exe_type)
147 return cls._do_capture(_device, link, path, name, ext)
158 path, save_name = cls.get_take_picture_path(_device, file_name, ext, exe_type="stepImage")
159 link = os.path.join(DeccVariable.cur_case().name, save_name)
161 return cls._do_capture(_device, link, path, step_name, ext)
195 path, save_name = cls.get_take_picture_path(_device, name, ext, exe_type)
196 link = os.path.join(DeccVariable.cur_case().name, save_name)
197 return path, link
204 if os.path.exists(file_path):