def test_uptime_sends_with_enter(buffer_connection): from moler.cmd.unix.uptime import Uptime uptime_cmd = Uptime(buffer_connection.moler_connection) uptime_cmd.send_command()
def test_uptime_sends_without_enter(buffer_connection): from moler.cmd.unix.uptime import Uptime uptime_cmd = Uptime(buffer_connection.moler_connection) uptime_cmd.newline_after_command_string = False uptime_cmd.send_command()
def test_uptime_sends_with_enter(buffer_connection): uptime_cmd = Uptime(buffer_connection.moler_connection) uptime_cmd.send_command()