]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix broken port query in Extraroute test case
authorKevin Benton <blak111@gmail.com>
Sat, 20 Sep 2014 07:17:58 +0000 (00:17 -0700)
committerKevin Benton <blak111@gmail.com>
Fri, 26 Sep 2014 23:10:43 +0000 (16:10 -0700)
commit78a2ecb9923417f63c17c1e7055200ac97e6e947
treead1f045f8224a568e3a5d6c43e838f618c085861
parente883880e15e57ed5f069f8e5e3d89ea710706ba4
Fix broken port query in Extraroute test case

One of the queries in an extra route test case tries
to filter based on the port owner, but the _list_ports
method it calls doesn't take a device_owner parameter.
This can cause failures if a DHCP port is created on
the same subnet.

Change-Id: I0e62027ae4d98944ef91a5d457d43d4224441b2f
neutron/tests/unit/test_db_plugin.py
neutron/tests/unit/test_extension_extraroute.py