]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix TypeError: <MagicMock name='LinuxBridgeManager().local_ip'
authorAaron Rosen <arosen@nicira.com>
Tue, 22 Oct 2013 22:33:45 +0000 (15:33 -0700)
committerGerrit Code Review <review@openstack.org>
Thu, 24 Oct 2013 02:24:56 +0000 (02:24 +0000)
commitd26dfed7d47926425bb55893da45f650d6549b9a
treedae991bcc8deb4faa2270cd134ebd4a6de0d4d62
parent30ba5b38fe320a5009a909828219eac11ac06625
Fix TypeError: <MagicMock name='LinuxBridgeManager().local_ip'

This patch fixes an error that does not result in a test failure but
causes the following error to be logged in the test logs:

TypeError: <MagicMock name='LinuxBridgeManager().local_ip' id='666599248'>
is not JSON serializable

Related-Bug: #1234857

Change-Id: I65cdd997745d8b760031f8f32e3c10682ad2288e
neutron/tests/unit/linuxbridge/test_lb_neutron_agent.py