bwks / netconnect

Connect to devices via telnet and ssh
GNU General Public License v3.0
7 stars 0 forks source link

SCP utility method #34

Closed bwks closed 5 years ago

bwks commented 5 years ago

closes #33

bwks commented 5 years ago
================================================================== test session starts ===================================================================
platform linux -- Python 3.6.7, pytest-3.7.1, py-1.5.4, pluggy-0.7.1
rootdir: /home/bradmin/Documents/code/python/netconnect, inifile:
plugins: cov-2.5.1
collected 54 items                                                                                                                                       

netconnect/arista/tests/test_arista_driver.py .                                                                                                    [  1%]
netconnect/arista/tests/test_arista_driver_functional.py s                                                                                         [  3%]
netconnect/cisco/tests/test_cisco_asa_driver_functional.py ss                                                                                      [  7%]
netconnect/cisco/tests/test_cisco_driver.py ...                                                                                                    [ 12%]
netconnect/cisco/tests/test_cisco_driver_functional.py sssssssss                                                                                   [ 29%]
netconnect/juniper/tests/test_juniper_driver.py .                                                                                                  [ 31%]
netconnect/juniper/tests/test_juniper_driver_functional.py sssssssss                                                                               [ 48%]
netconnect/unix/tests/test_unix_login.py .                                                                                                         [ 50%]
tests/test_base.py ..............                                                                                                                  [ 75%]
tests/test_helpers.py ............                                                                                                                 [ 98%]
tests/test_messages.py .                                                                                                                           [100%]

----------- coverage: platform linux, python 3.6.7-final-0 -----------
Name                                   Stmts   Miss  Cover
----------------------------------------------------------
netconnect/arista/arista_driver.py         7      4    43%
netconnect/base.py                        44      4    91%
netconnect/cisco/cisco_asa_driver.py      54     41    24%
netconnect/cisco/cisco_driver.py         112     81    28%
netconnect/cisco/viptela_driver.py        73     56    23%
netconnect/constants.py                   11      0   100%
netconnect/exceptions.py                   8      0   100%
netconnect/helpers.py                     65     14    78%
netconnect/juniper/juniper_driver.py      93     74    20%
netconnect/messages.py                    36     16    56%
netconnect/unix/unix_driver.py            34     22    35%
netconnect/utils.py                       39     39     0%
----------------------------------------------------------
TOTAL                                    576    351    39%

========================================================= 33 passed, 21 skipped in 2.70 seconds ==========================================================