(py27) root@ecs-2019616124656:~/networking-generic-switch# python -munittest networking_generic_switch.tests.unit.netmiko.test_cisco3000
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/lib/python2.7/unittest/__main__.py", line 12, in <module>
main(module=None)
File "/usr/lib/python2.7/unittest/main.py", line 94, in __init__
self.parseArgs(argv)
File "/usr/lib/python2.7/unittest/main.py", line 149, in parseArgs
self.createTests()
File "/usr/lib/python2.7/unittest/main.py", line 158, in createTests
self.module)
File "/usr/lib/python2.7/unittest/loader.py", line 130, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
File "/usr/lib/python2.7/unittest/loader.py", line 100, in loadTestsFromName
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'test_cisco3000'
(py27) root@ecs-2019616124656:~/networking-generic-switch# python -munittest networking_generic_switch.tests.unit.netmiko.test_cisco_300
EEEEEE
======================================================================
ERROR: test__format_commands (networking_generic_switch.tests.unit.netmiko.test_cisco_300.TestNetmikoCisco300)
----------------------------------------------------------------------
Traceback (most recent call last):
File "networking_generic_switch/tests/unit/netmiko/test_netmiko_base.py", line 32, in setUp
self.switch = self._make_switch_device()
File "networking_generic_switch/tests/unit/netmiko/test_cisco_300.py", line 25, in _make_switch_device
return cisco.Cisco300(device_cfg)
File "networking_generic_switch/devices/netmiko_devices/__init__.py", line 62, in __init__
if CONF.ngs_coordination.backend_url:
File "/root/networking-generic-switch/.tox/py27/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2519, in __getattr__
raise NoSuchOptError(name)
NoSuchOptError: no such option ngs_coordination in group [DEFAULT]
======================================================================
ERROR: test_add_network (networking_generic_switch.tests.unit.netmiko.test_cisco_300.TestNetmikoCisco300)
----------------------------------------------------------------------
Traceback (most recent call last):
File "networking_generic_switch/tests/unit/netmiko/test_netmiko_base.py", line 32, in setUp
self.switch = self._make_switch_device()
File "networking_generic_switch/tests/unit/netmiko/test_cisco_300.py", line 25, in _make_switch_device
return cisco.Cisco300(device_cfg)
File "networking_generic_switch/devices/netmiko_devices/__init__.py", line 62, in __init__
if CONF.ngs_coordination.backend_url:
File "/root/networking-generic-switch/.tox/py27/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2519, in __getattr__
raise NoSuchOptError(name)
NoSuchOptError: no such option ngs_coordination in group [DEFAULT]
======================================================================
ERROR: test_constants (networking_generic_switch.tests.unit.netmiko.test_cisco_300.TestNetmikoCisco300)
----------------------------------------------------------------------
Traceback (most recent call last):
File "networking_generic_switch/tests/unit/netmiko/test_netmiko_base.py", line 32, in setUp
self.switch = self._make_switch_device()
File "networking_generic_switch/tests/unit/netmiko/test_cisco_300.py", line 25, in _make_switch_device
return cisco.Cisco300(device_cfg)
File "networking_generic_switch/devices/netmiko_devices/__init__.py", line 62, in __init__
if CONF.ngs_coordination.backend_url:
File "/root/networking-generic-switch/.tox/py27/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2519, in __getattr__
raise NoSuchOptError(name)
NoSuchOptError: no such option ngs_coordination in group [DEFAULT]
======================================================================
ERROR: test_del_network (networking_generic_switch.tests.unit.netmiko.test_cisco_300.TestNetmikoCisco300)
----------------------------------------------------------------------
Traceback (most recent call last):
File "networking_generic_switch/tests/unit/netmiko/test_netmiko_base.py", line 32, in setUp
self.switch = self._make_switch_device()
File "networking_generic_switch/tests/unit/netmiko/test_cisco_300.py", line 25, in _make_switch_device
return cisco.Cisco300(device_cfg)
File "networking_generic_switch/devices/netmiko_devices/__init__.py", line 62, in __init__
if CONF.ngs_coordination.backend_url:
File "/root/networking-generic-switch/.tox/py27/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2519, in __getattr__
raise NoSuchOptError(name)
NoSuchOptError: no such option ngs_coordination in group [DEFAULT]
======================================================================
ERROR: test_delete_port (networking_generic_switch.tests.unit.netmiko.test_cisco_300.TestNetmikoCisco300)
----------------------------------------------------------------------
Traceback (most recent call last):
File "networking_generic_switch/tests/unit/netmiko/test_netmiko_base.py", line 32, in setUp
self.switch = self._make_switch_device()
File "networking_generic_switch/tests/unit/netmiko/test_cisco_300.py", line 25, in _make_switch_device
return cisco.Cisco300(device_cfg)
File "networking_generic_switch/devices/netmiko_devices/__init__.py", line 62, in __init__
if CONF.ngs_coordination.backend_url:
File "/root/networking-generic-switch/.tox/py27/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2519, in __getattr__
raise NoSuchOptError(name)
NoSuchOptError: no such option ngs_coordination in group [DEFAULT]
======================================================================
ERROR: test_plug_port_to_network (networking_generic_switch.tests.unit.netmiko.test_cisco_300.TestNetmikoCisco300)
----------------------------------------------------------------------
Traceback (most recent call last):
File "networking_generic_switch/tests/unit/netmiko/test_netmiko_base.py", line 32, in setUp
self.switch = self._make_switch_device()
File "networking_generic_switch/tests/unit/netmiko/test_cisco_300.py", line 25, in _make_switch_device
return cisco.Cisco300(device_cfg)
File "networking_generic_switch/devices/netmiko_devices/__init__.py", line 62, in __init__
if CONF.ngs_coordination.backend_url:
File "/root/networking-generic-switch/.tox/py27/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2519, in __getattr__
raise NoSuchOptError(name)
NoSuchOptError: no such option ngs_coordination in group [DEFAULT]
----------------------------------------------------------------------
Ran 6 tests in 0.002s
FAILED (errors=6)
(py27) root@ecs-2019616124656:~/networking-generic-switch# python -munittest networking_generic_switch.tests.unit.netmiko.test_cisco_300
EEEEEE
======================================================================
ERROR: test__format_commands (networking_generic_switch.tests.unit.netmiko.test_cisco_300.TestNetmikoCisco300)
----------------------------------------------------------------------
Traceback (most recent call last):
File "networking_generic_switch/tests/unit/netmiko/test_netmiko_base.py", line 32, in setUp
self.switch = self._make_switch_device()
File "networking_generic_switch/tests/unit/netmiko/test_cisco_300.py", line 25, in _make_switch_device
return cisco.Cisco300(device_cfg)
File "networking_generic_switch/devices/netmiko_devices/__init__.py", line 62, in __init__
if CONF.ngs_coordination.backend_url:
File "/root/networking-generic-switch/.tox/py27/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2519, in __getattr__
raise NoSuchOptError(name)
NoSuchOptError: no such option ngs_coordination in group [DEFAULT]
======================================================================
ERROR: test_add_network (networking_generic_switch.tests.unit.netmiko.test_cisco_300.TestNetmikoCisco300)
----------------------------------------------------------------------
Traceback (most recent call last):
File "networking_generic_switch/tests/unit/netmiko/test_netmiko_base.py", line 32, in setUp
self.switch = self._make_switch_device()
File "networking_generic_switch/tests/unit/netmiko/test_cisco_300.py", line 25, in _make_switch_device
return cisco.Cisco300(device_cfg)
File "networking_generic_switch/devices/netmiko_devices/__init__.py", line 62, in __init__
if CONF.ngs_coordination.backend_url:
File "/root/networking-generic-switch/.tox/py27/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2519, in __getattr__
raise NoSuchOptError(name)
NoSuchOptError: no such option ngs_coordination in group [DEFAULT]
======================================================================
ERROR: test_constants (networking_generic_switch.tests.unit.netmiko.test_cisco_300.TestNetmikoCisco300)
----------------------------------------------------------------------
Traceback (most recent call last):
File "networking_generic_switch/tests/unit/netmiko/test_netmiko_base.py", line 32, in setUp
self.switch = self._make_switch_device()
File "networking_generic_switch/tests/unit/netmiko/test_cisco_300.py", line 25, in _make_switch_device
return cisco.Cisco300(device_cfg)
File "networking_generic_switch/devices/netmiko_devices/__init__.py", line 62, in __init__
if CONF.ngs_coordination.backend_url:
File "/root/networking-generic-switch/.tox/py27/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2519, in __getattr__
raise NoSuchOptError(name)
NoSuchOptError: no such option ngs_coordination in group [DEFAULT]
======================================================================
ERROR: test_del_network (networking_generic_switch.tests.unit.netmiko.test_cisco_300.TestNetmikoCisco300)
----------------------------------------------------------------------
Traceback (most recent call last):
File "networking_generic_switch/tests/unit/netmiko/test_netmiko_base.py", line 32, in setUp
self.switch = self._make_switch_device()
File "networking_generic_switch/tests/unit/netmiko/test_cisco_300.py", line 25, in _make_switch_device
return cisco.Cisco300(device_cfg)
File "networking_generic_switch/devices/netmiko_devices/__init__.py", line 62, in __init__
if CONF.ngs_coordination.backend_url:
File "/root/networking-generic-switch/.tox/py27/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2519, in __getattr__
raise NoSuchOptError(name)
NoSuchOptError: no such option ngs_coordination in group [DEFAULT]
======================================================================
ERROR: test_delete_port (networking_generic_switch.tests.unit.netmiko.test_cisco_300.TestNetmikoCisco300)
----------------------------------------------------------------------
Traceback (most recent call last):
File "networking_generic_switch/tests/unit/netmiko/test_netmiko_base.py", line 32, in setUp
self.switch = self._make_switch_device()
File "networking_generic_switch/tests/unit/netmiko/test_cisco_300.py", line 25, in _make_switch_device
return cisco.Cisco300(device_cfg)
File "networking_generic_switch/devices/netmiko_devices/__init__.py", line 62, in __init__
if CONF.ngs_coordination.backend_url:
File "/root/networking-generic-switch/.tox/py27/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2519, in __getattr__
raise NoSuchOptError(name)
NoSuchOptError: no such option ngs_coordination in group [DEFAULT]
======================================================================
ERROR: test_plug_port_to_network (networking_generic_switch.tests.unit.netmiko.test_cisco_300.TestNetmikoCisco300)
----------------------------------------------------------------------
Traceback (most recent call last):
File "networking_generic_switch/tests/unit/netmiko/test_netmiko_base.py", line 32, in setUp
self.switch = self._make_switch_device()
File "networking_generic_switch/tests/unit/netmiko/test_cisco_300.py", line 25, in _make_switch_device
return cisco.Cisco300(device_cfg)
File "networking_generic_switch/devices/netmiko_devices/__init__.py", line 62, in __init__
if CONF.ngs_coordination.backend_url:
File "/root/networking-generic-switch/.tox/py27/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2519, in __getattr__
raise NoSuchOptError(name)
NoSuchOptError: no such option ngs_coordination in group [DEFAULT]
it does report any problem running from parent directory because cfg.CONF is a global variable.