Home
last modified time | relevance | path

Searched refs:original_file (Results 1 – 2 of 2) sorted by relevance

/test/testfwk/developer_test/src/core/testkit/
Dkit_lite.py132 def copy_file_as_temp(self, original_file, str_length): argument
139 if os.path.isfile(original_file):
143 os.path.splitext(original_file)[0], "".join(random_str),
144 os.path.splitext(original_file)[1])
145 return shutil.copyfile(original_file, new_temp_tool_path)
/test/testfwk/xdevice/plugins/ohos/src/ohos/testkit/
Dkit_lite.py404 def copy_file_as_temp(original_file, str_length): argument
411 if os.path.isfile(original_file):
415 os.path.splitext(original_file)[0], "".join(random_str),
416 os.path.splitext(original_file)[1])
417 return shutil.copyfile(original_file, new_temp_tool_path)