Skip to content

Instantly share code, notes, and snippets.

@dynax60
Created February 20, 2020 21:53
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/52af7c739fe7abd69bbd319721439757 to your computer and use it in GitHub Desktop.
Save dynax60/52af7c739fe7abd69bbd319721439757 to your computer and use it in GitHub Desktop.
null@MacBook-Air-Denis [23:33:10] [~/netmiko/tests] [dlink *]
-> % py.test -v test_netmiko_config.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 7 items
test_netmiko_config.py::test_ssh_connect PASSED [ 14%]
test_netmiko_config.py::test_enable_mode PASSED [ 28%]
test_netmiko_config.py::test_config_mode SKIPPED [ 42%]
test_netmiko_config.py::test_exit_config_mode PASSED [ 57%]
test_netmiko_config.py::test_command_set PASSED [ 71%]
test_netmiko_config.py::test_commands_from_file PASSED [ 85%]
test_netmiko_config.py::test_disconnect PASSED [100%]
=========================================================== short test summary info ===========================================================
SKIPPED [1] /Users/null/netmiko/tests/test_netmiko_config.py:38: Config mode not implemented or not supported for this platform
======================================================== 6 passed, 1 skipped in 17.44s ========================================================
null@MacBook-Air-Denis [23:34:05] [~/netmiko/tests] [dlink *]
-> % py.test -v test_netmiko_config.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 7 items
test_netmiko_config.py::test_ssh_connect PASSED [ 14%]
test_netmiko_config.py::test_enable_mode PASSED [ 28%]
test_netmiko_config.py::test_config_mode SKIPPED [ 42%]
test_netmiko_config.py::test_exit_config_mode PASSED [ 57%]
test_netmiko_config.py::test_command_set PASSED [ 71%]
test_netmiko_config.py::test_commands_from_file PASSED [ 85%]
test_netmiko_config.py::test_disconnect PASSED [100%]
=========================================================== short test summary info ===========================================================
SKIPPED [1] /Users/null/netmiko/tests/test_netmiko_config.py:38: Config mode not implemented or not supported for this platform
======================================================== 6 passed, 1 skipped in 18.06s ========================================================
null@MacBook-Air-Denis [23:34:48] [~/netmiko/tests] [dlink *]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment