]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Correctly mock-out 'ip route...' calls in IPv6 test
authorBrian Haley <brian.haley@hp.com>
Thu, 5 Feb 2015 20:18:10 +0000 (15:18 -0500)
committerBrian Haley <brian.haley@hp.com>
Sat, 7 Feb 2015 01:04:09 +0000 (20:04 -0500)
commit2a215987b8e0a5418a161eaa1cec0339dcb2faeb
treea016e01337ae4d85becc3f2f4b2561501b172522
parent38f2704a8554d1a7d0107a207ce12f0bf628c2b1
Correctly mock-out 'ip route...' calls in IPv6 test

In neutron/tests/unit/test_linux_interface.py, test
TestABCDriver.test_l3_init_with_ipv6() missed
mocking-out calls to 'ip route...'.

Introduced in commit fc7cffedbe60.

This also required forcing init_l3() to always specify
that the netaddr library should return a zero-filled
network for IPv6.

Change-Id: Ic69830ac21113815794def5227fc21664d7fcbb8
Closes-Bug: #1418704
neutron/agent/linux/interface.py
neutron/tests/unit/test_linux_interface.py