Skip to content

Instantly share code, notes, and snippets.

@dynax60
Created February 20, 2020 21:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dynax60/56d0c23ec84290e0adbf2156677b5e93 to your computer and use it in GitHub Desktop.
Save dynax60/56d0c23ec84290e0adbf2156677b5e93 to your computer and use it in GitHub Desktop.
null@MacBook-Air-Denis [23:36:54] [~/netmiko/tests] [dlink *]
-> % py.test -v test_netmiko_show.py --test_device dlink_ds
============================================================= test session starts =============================================================
platform darwin -- Python 3.8.0, pytest-5.3.4, py-1.8.1, pluggy-0.13.1 -- /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8
cachedir: .pytest_cache
rootdir: /Users/null/netmiko, inifile: setup.cfg
collected 14 items
test_netmiko_show.py::test_disable_paging PASSED [ 7%]
test_netmiko_show.py::test_ssh_connect PASSED [ 14%]
test_netmiko_show.py::test_ssh_connect_cm PASSED [ 21%]
test_netmiko_show.py::test_send_command_timing PASSED [ 28%]
test_netmiko_show.py::test_send_command PASSED [ 35%]
test_netmiko_show.py::test_send_command_textfsm SKIPPED [ 42%]
test_netmiko_show.py::test_send_command_genie SKIPPED [ 50%]
test_netmiko_show.py::test_base_prompt PASSED [ 57%]
test_netmiko_show.py::test_strip_prompt PASSED [ 64%]
test_netmiko_show.py::test_strip_command PASSED [ 71%]
test_netmiko_show.py::test_normalize_linefeeds PASSED [ 78%]
test_netmiko_show.py::test_clear_buffer PASSED [ 85%]
test_netmiko_show.py::test_enable_mode PASSED [ 92%]
test_netmiko_show.py::test_disconnect PASSED [100%]
=========================================================== short test summary info ===========================================================
SKIPPED [1] /Users/null/netmiko/tests/test_netmiko_show.py:82: TextFSM/ntc-templates not supported on this platform
SKIPPED [1] /Users/null/netmiko/tests/test_netmiko_show.py:108: TextFSM/ntc-templates not supported on this platform
================================================== 12 passed, 2 skipped in 121.35s (0:02:01) ==================================================
null@MacBook-Air-Denis [23:39:02] [~/netmiko/tests] [dlink *]
-> % py.test -v test_netmiko_show.py --test_device dlink_ds_telnet
============================================================= test session starts =============================================================
platform darwin -- Python 3.8.0, pytest-5.3.4, py-1.8.1, pluggy-0.13.1 -- /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8
cachedir: .pytest_cache
rootdir: /Users/null/netmiko, inifile: setup.cfg
collected 14 items
test_netmiko_show.py::test_disable_paging PASSED [ 7%]
test_netmiko_show.py::test_ssh_connect PASSED [ 14%]
test_netmiko_show.py::test_ssh_connect_cm PASSED [ 21%]
test_netmiko_show.py::test_send_command_timing PASSED [ 28%]
test_netmiko_show.py::test_send_command PASSED [ 35%]
test_netmiko_show.py::test_send_command_textfsm SKIPPED [ 42%]
test_netmiko_show.py::test_send_command_genie SKIPPED [ 50%]
test_netmiko_show.py::test_base_prompt PASSED [ 57%]
test_netmiko_show.py::test_strip_prompt PASSED [ 64%]
test_netmiko_show.py::test_strip_command PASSED [ 71%]
test_netmiko_show.py::test_normalize_linefeeds PASSED [ 78%]
test_netmiko_show.py::test_clear_buffer PASSED [ 85%]
test_netmiko_show.py::test_enable_mode PASSED [ 92%]
test_netmiko_show.py::test_disconnect PASSED [100%]
=========================================================== short test summary info ===========================================================
SKIPPED [1] /Users/null/netmiko/tests/test_netmiko_show.py:82: TextFSM/ntc-templates not supported on this platform
SKIPPED [1] /Users/null/netmiko/tests/test_netmiko_show.py:108: TextFSM/ntc-templates not supported on this platform
================================================== 12 passed, 2 skipped in 69.85s (0:01:09) ===================================================
null@MacBook-Air-Denis [23:40:21] [~/netmiko/tests] [dlink *]%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment