Fix latest unit test failures for Nexus py34
Nexus Unit tests failing with py34 at line 1171 test_cisco_mech.py which is a LOG.debug line which should not exist in unit test. Fix is to remove the offending line. Change-Id: Ie6f39e1a75bdbb78919057a5c19169105ca56815 Closes-bug: #1558222
This commit is contained in:
parent
a6dff07940
commit
05ddd3a101
|
@ -17,7 +17,6 @@ import contextlib
|
|||
import mock
|
||||
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
import webob.exc as wexc
|
||||
|
||||
from networking_cisco.plugins.ml2.drivers.cisco.nexus import (
|
||||
|
@ -44,8 +43,6 @@ from neutron.plugins.ml2 import driver_context
|
|||
from neutron.tests.unit.plugins.ml2 import test_plugin
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
PHYS_NET = 'physnet1'
|
||||
COMP_HOST_NAME = 'testhost'
|
||||
COMP_HOST_NAME_2 = 'testhost_2'
|
||||
|
@ -1168,7 +1165,6 @@ class TestCiscoNetworksV2(CiscoML2MechanismTestCase,
|
|||
*args, **kwargs)
|
||||
patched_plugin.side_effect = side_effect
|
||||
res = self._create_network_bulk(self.fmt, 2, 'test', True)
|
||||
LOG.debug("response is %s" % res)
|
||||
# We expect an internal server error as we injected a fault
|
||||
self._validate_behavior_on_bulk_failure(
|
||||
res,
|
||||
|
|
Loading…
Reference in New Issue