Hi,

I'm experiencing an issue where I run the unit tests on my local
machine and the unit tests pass, while on the Jenkins system they
fail with a very strange error.


2013-11-11 13:16:04.132 | 
2013-11-11 13:16:04.132 | Traceback (most recent call last):
2013-11-11 13:16:04.132 |   File 
"/home/jenkins/workspace/gate-neutron-python26/neutron/tests/unit/openvswitch/test_ovs_rpcapi.py",
 line 91, in test_tunnel_update
2013-11-11 13:16:04.133 |     tunnel_type=None)
2013-11-11 13:16:04.133 |   File 
"/home/jenkins/workspace/gate-neutron-python26/neutron/tests/unit/openvswitch/test_ovs_rpcapi.py",
 line 38, in _test_ovs_api
2013-11-11 13:16:04.133 |     expected_msg['version'] = 
rpcapi.BASE_RPC_API_VERSION
2013-11-11 13:16:04.134 | TypeError: 'Mock' object does not support item 
assignment

The review can be found here.

https://review.openstack.org/#/c/45232/

The rpcapi object is an instance of the AgentNotifierApi class in the OVS 
Neutron Plugin module, which now has an additional mixin 
(qos_rpc.QoSAgentRpcApiMixin) - perhaps I'm missing some "magic"
somewhere?

Any help would be greatly appreciated.

-- 
Sean M. Collins
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to