Home
last modified time | relevance | path

Searched refs:cmd_str (Results 1 – 3 of 3) sorted by relevance

/tools/test/connectivity/acts/framework/acts/controllers/attenuator_lib/
D_tnhelper.py102 def cmd(self, cmd_str, wait_ret=True): argument
103 if not isinstance(cmd_str, str):
104 raise TypeError('Invalid command string', cmd_str)
110 cmd_str.strip(self.tx_cmd_separator)
112 self._tn.write(_ascii_string(cmd_str + self.tx_cmd_separator))
121 logging.debug('Telnet Command: {}'.format(cmd_str))
/tools/test/connectivity/acts/framework/acts/controllers/pdu_lib/synaccess/
Dnp02b.py147 def cmd(self, cmd_str): argument
157 cmd_str.strip(self.tx_cmd_separator)
162 self._tn.write(utils.ascii_string(cmd_str + self.tx_cmd_separator))
167 raise pdu.PduError("Command failed: %s" % cmd_str)
170 raise pdu.PduError("Command Invalid: %s" % cmd_str)
174 res = res.replace(cmd_str, '')
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/
Drpm_controller_utils.py63 def run(self, prompt, cmd_str): argument
77 cmd_str = '%s%s' % (cmd_str, SEPARATOR)
80 self.tn.write(_ascii_string(cmd_str))