• Home
  • Raw
  • Download

Lines Matching refs:format

38 TEST_FILE_PATH = "{}{}".format(os.path.abspath("D:/Download/sdk/"), '\\')
47 'tmode': "{}{}".format("tmode port ", TCP_CFG['port']),
48 'tconn': "{}{}{}{}".format("tconn ", TCP_CFG['ip'], ":", TCP_CFG['port']),
53 'local': "{}{}".format(TEST_FILE_PATH, "hdc.log"),
54 'remote': "{}{}".format(REMOTE_PATH, "hdc.log")
57 'local': "{}{}".format(TEST_FILE_PATH, "log"),
58 'remote': "{}{}".format(REMOTE_PATH, "log")
61 'remote': "{}{}".format(REMOTE_PATH, "hdc.log"),
62 'local': "{}{}".format(TEST_FILE_PATH, "dev_data")
65 'remote': "{}{}".format(REMOTE_PATH, "log"),
66 'local': "{}{}".format(TEST_FILE_PATH, "hdc\\log")
69 'local': "{}{}".format(TEST_FILE_PATH, "empty.txt"),
70 'remote': "{}{}".format(REMOTE_PATH, "empty.txt")
89 … "{}{}{}{}".format("file send ", PATH['file_send']['local'], " ", PATH['file_send']['remote']),
90 … "{}{}{}{}".format("file send ", PATH['file_empty']['local'], " ", PATH['file_empty']['remote']),
91 "{}{}{}{}".format("file send ", PATH['dir_send']['local'], " ", PATH['dir_send']['remote']),
92 … "{}{}{}{}".format("file recv ", PATH['file_recv']['remote'], " ", PATH['file_recv']['local']),
93 … "{}{}{}{}".format("file recv ", PATH['file_empty']['remote'], " ", PATH['file_empty']['local']),
94 "{}{}{}{}".format("file recv ", PATH['dir_recv']['remote'], " ", PATH['dir_recv']['local'])
103 "{}{}{}".format("install ", TEST_FILE_PATH, HAP_ONE['HAP_NAME']),
104 "{}{}".format("uninstall ", HAP_ONE['PACKAGE_NAME'])
110 'send_file': "{}{}".format(TEST_FILE_PATH, "100M.txt"),
111 'send_file_one': "{}{}".format(REMOTE_PATH, "a100M.txt"),
112 'send_file_two': "{}{}".format(REMOTE_PATH, "c100M.txt"),
113 'recv_file': "{}{}".format(REMOTE_PATH, "recv100M.txt"),
114 'recv_file_one': "{}{}".format(TEST_FILE_PATH, "recv100M.txt"),
115 'recv_file_two': "{}{}".format(TEST_FILE_PATH, "recv200M.txt"),
118 'send_file': "{}{}".format(TEST_FILE_PATH, "hdc_file.log"),
119 'send_file_one': "{}{}".format(REMOTE_PATH, "send_one.log"),
120 'send_file_two': "{}{}".format(REMOTE_PATH, "send_two.log"),
121 'recv_file': "{}{}".format(REMOTE_PATH, "hdcd.log"),
122 'recv_file_one': "{}{}".format(TEST_FILE_PATH, "recv_one.log"),
123 'recv_file_two': "{}{}".format(TEST_FILE_PATH, "recv_two.log"),
168 res = run_command_stdout("{}{}{}{}{}".format("shell \"[ ", file_type, " ", remote_file,
183 run_command("{}{}{}{}".format("shell \"rm -rf ", file_path, "\"", head))
190 res = run_command_stdout("{}{}{}".format("attrib ", local_file, ""))
202 ret = run_command_stdout("{}{}{}".format("if exist ", file_path, " echo yes"), '')
204 …res = run_command_stdout("{}{}{}".format("dir/ad ", file_path, " >nul 2>nul && echo dir || echo fi…
212 run_command("{}{}".format("rmdir /s/q ", file_path), "")
214 run_command("{}{}".format("del ", file_path), "")
262 cmd = "{}{}".format(server_head, "-m")
268 command = "{}{}".format(head, cmd)
279 command = "{}{}".format(head, cmd)
320 …run_command_stdout("{}{}{}{}".format("file send ", PATH['dir_send']['local'], " ", PATH['dir_recv'…
327 if "{}{}".format(REMOTE_PATH, "log") in item:
349 return "{}{}{}".format(path[:ret], i, path[ret:])
355 …res = run_command_stdout("{}{}{}{}".format("file send ", send_path, " ", mix_path(recv_path, str(i…
361 …res = run_command_stdout("{}{}{}{}".format("file recv ", remote_path, " ", mix_path(recv_path, str…
367 …send_md5 = run_command_stdout("{}{}{}".format("certutil -hashfile ", os.path.abspath(file_path), "…
376 md5 = run_command_stdout("{}{}{}".format("shell \"md5sum ", file_path, "\""), head)
392 …run_command_stdout("{}{}{}{}".format("file send ", os.path.abspath(PATH['file_empty']['local']), '…
394 … run_command_stdout("{}{}{}{}".format("file send ", os.path.abspath(send_file), ' ', recv_file),
400 print("{}{}".format("HDC TEST: start test_file_cmd \n", str(i)))
428 run_device_cmd("{}{}{}{}".format(NORMAL_HEAD, EXTRA_COMMANDS['choose'], dev, " "))
450 server_head = "{}{}{}{}{}".format(NORMAL_HEAD, "-s ", IP, ":", "8710 ")
456 head = "{}{}{}{}".format(server_head, EXTRA_COMMANDS['choose'], dev, " ")
457 run_command_stdout("{}{}{}{}".format("file send ", PATH['dir_send']['local'], " ",