Verify a command can be sent down the channel successfully using send_command method.
(net_connect, commands, expected_responses)
| 94 | |
| 95 | |
| 96 | def test_send_command(net_connect, commands, expected_responses): |
| 97 | """Verify a command can be sent down the channel successfully using send_command method.""" |
| 98 | net_connect.clear_buffer() |
| 99 | show_ip_alt = net_connect.send_command(commands["basic"]) |
| 100 | assert expected_responses["interface_ip"] in show_ip_alt |
| 101 | |
| 102 | |
| 103 | def test_send_command_no_cmd_verify(net_connect, commands, expected_responses): |
nothing calls this directly
no test coverage detected