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.
Reviewed: https:/ /review. openstack. org/165291 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=78d3b40899b 81dd2ecfadcc854 7c8eabc6849e53
Committed: https:/
Submitter: Jenkins
Branch: master
commit 78d3b40899b81dd 2ecfadcc8547c8e abc6849e53
Author: YAMAMOTO Takashi <email address hidden>
Date: Wed Mar 18 13:27:15 2015 +0900
linuxbridge UT: Fix a regression of the recent ip_lib change
A recently merged change, I07d1d297f07857 d216649cccf7178 96574aac301, get_devices to use /sys instead of executing ip command.
changed IPWrapper.
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 a3fc358f747e25d 023934d1ffd
Related-Bug: #1374663
Change-Id: I9570abe703b438