]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix test case for DHCP agent interface restart
authorKevin Benton <blak111@gmail.com>
Fri, 27 Mar 2015 15:13:58 +0000 (08:13 -0700)
committerKevin Benton <blak111@gmail.com>
Fri, 27 Mar 2015 15:16:08 +0000 (08:16 -0700)
commit18c5a8b2e9161e8beda8a14078a1e8d666e900d1
treec04943875cf6746a60375cd1588f8d0d656cdb39
parentc4f59fe0f5ec3cb8736dfcdefb71106802eae2c2
Fix test case for DHCP agent interface restart

One of the new test cases in the recent DHCP
interface patch[1] was supposed to confirm that
the driver wouldn't be restarted if the IP address
stayed the same. However, it wasn't matching the
device ID of the agent so it was never making it
to that conditional.

This patch just fixes that UT so it's exercising
the right code path.

1. c4a7447e2d659b3a240a62ae9d34e6e0b9cee7a3

Change-Id: I8735c6e533d6b486c32cfded2c22eac8a25c855d
neutron/tests/unit/test_dhcp_agent.py