[openstack-dev] [Neutron] Troubleshooting OVS RPC API unit test error

Collins, Sean (Contractor) Sean_Collins2 at cable.comcast.com
Fri Nov 15 21:14:36 UTC 2013


Ah. Here's why.

diff --git a/neutron/tests/unit/openvswitch/test_ovs_qos.py b/neutron/tests/unit/openvswitch/test_ovs_qos.py
index 3450b2c..8feaef4 100644
--- a/neutron/tests/unit/openvswitch/test_ovs_qos.py
+++ b/neutron/tests/unit/openvswitch/test_ovs_qos.py
@@ -32,6 +32,7 @@ class OpenvswitchQoSTestCase(test_qos.QoSDBTestCase):
     _plugin_name = PLUGIN_NAME
 
     def setUp(self, plugin=None):
+        self.addCleanup(mock.patch.stopall)
         notifier_p = mock.patch(NOTIFIER)
         notifier_cls = notifier_p.start()
         self.notifier = mock.Mock()


Problem exists between keyboard and chair. Sorry everyone.

-- 
Sean M. Collins


More information about the OpenStack-dev mailing list