]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
De-duplicate unit tests for ports in Big Switch
authorKevin Benton <blak111@gmail.com>
Thu, 20 Mar 2014 14:24:33 +0000 (07:24 -0700)
committerKevin Benton <blak111@gmail.com>
Thu, 20 Mar 2014 14:34:14 +0000 (07:34 -0700)
commit913f45bc16dd2c35f7be772d5867f9208064498a
treeb516c6afca0b49c3d698571a4b9c9f269c94ab94
parent0ad5c0437d0b44e4f220d27be27880cfdf8abef4
De-duplicate unit tests for ports in Big Switch

This eliminates the separate classes that existed
for the VIF type testing. Each class was going
through all of the port tests when none of the
logic those tests were exercising was affected by
the VIF types.

This cut the number of tests run in test_restproxy_plugin
by close to 44% without a reduction in code coverage.

Closes-Bug: #1295448
Change-Id: I8c84e1599568fad36b6dd3d51e4ba8a3c012c6c5
neutron/tests/unit/bigswitch/test_restproxy_plugin.py