def issue_command(step, command, host_name): try: rshell.issue(command, host_name) except Exception as e: assert True == False, \ "Command threw '{}'".format(e)
def connect_ssh_host(step, host_name): world.host = host_name rshell.issue(host_name)