]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
linuxbridge UT: Fix a regression of the recent ip_lib change
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>
Wed, 18 Mar 2015 04:27:15 +0000 (13:27 +0900)
committerYAMAMOTO Takashi <yamamoto@valinux.co.jp>
Tue, 7 Apr 2015 03:42:13 +0000 (12:42 +0900)
commit78d3b40899b81dd2ecfadcc8547c8eabc6849e53
tree9226d6f3a912500b04b286e31de3210670d7cdc1
parent21bef562c23d96fe41daeedeb43c0bb2d1c53ed0
linuxbridge UT: Fix a regression of the recent ip_lib change

A recently merged change, I07d1d297f07857d216649cccf717896574aac301,
changed IPWrapper.get_devices to use /sys instead of executing ip command.
Unfortunately it broke linuxbridge unit tests, which seems to assume that
mocking utils.execute is enough in some places.  This commit fixes the
regression.

Closes-Bug: #1433417
Related-Bug: #1374663
Change-Id: I9570abe703b438a3fc358f747e25d023934d1ffd
neutron/tests/unit/plugins/linuxbridge/agent/test_linuxbridge_neutron_agent.py