]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix dhcp autoschedule test assertion logic
authorDarragh O'Reilly <darragh.oreilly@hp.com>
Mon, 27 Jul 2015 11:23:19 +0000 (11:23 +0000)
committerDarragh O'Reilly <darragh.oreilly@hp.com>
Mon, 27 Jul 2015 11:25:23 +0000 (11:25 +0000)
commit7f152490bfe001ccef7b3d2815978853585dbea3
tree77c695e5ebfe2164be1c95b6c330a9837e46c70e
parente95bc6f5be6b0d3bcf0677e515660f6b972163fe
Fix dhcp autoschedule test assertion logic

The functional test for auto_schedule_networks passes even if the
method does nothing. This patch changes the test so it checks that
each expected hosted network is in hosted_net_ids.

Change-Id: I42130993b1af3f3d028e355d30322853453f064f
Closes-Bug: #1478531
neutron/tests/functional/scheduler/test_dhcp_agent_scheduler.py