Searched refs:run_command (Results 1 – 3 of 3) sorted by relevance
49 def run_command(self, cmd: str) -> str: member in MCUmgr55 self.run_command('reset')58 self.run_command(f'-t {timeout} image upload {image}')62 output = self.run_command('image list')99 self.run_command(f'image test {hash}')105 self.run_command(f'image confirm {hash}')
47 mcumgr.run_command = mock.Mock(return_value=cmd_output)67 mcumgr.run_command = mock.Mock(return_value=cmd_output)82 mcumgr.run_command.assert_called_with('image test 1111')86 mcumgr.run_command.assert_called_with('image confirm 0000')
257 self.run_command(cmd, timeout)344 def run_command(self, cmd, timeout): member in Pytest