]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Remove unnecessary _make_port function in BSN UTs
authorKevin Benton <blak111@gmail.com>
Thu, 18 Sep 2014 11:21:05 +0000 (04:21 -0700)
committerKevin Benton <kevinbenton@buttewifi.com>
Mon, 22 Sep 2014 03:06:03 +0000 (03:06 +0000)
commit8e98d8827587f1b58c3b22f25bc055d5b964422e
treeda706a35dc7bbe09076e38e3329d3259747388c1
parenta76af4ade3c751a4372a427989035cf8c32342b0
Remove unnecessary _make_port function in BSN UTs

The Big Switch unit tests had unnecessary copies of the
_make_port function to allow the binding:host_id field to
be set. This was already possible with the existing _make_port
call through the use of kwargs so the extra function wasn't
necessary.

Change-Id: I88679173117739f628ae289636b5cdea10417e6c
neutron/tests/unit/bigswitch/test_restproxy_plugin.py
neutron/tests/unit/ml2/drivers/test_bigswitch_mech.py