]> 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)
committerMark McClain <mmcclain@yahoo-inc.com>
Fri, 4 Apr 2014 23:15:33 +0000 (19:15 -0400)
commitd8aba33049d7f60a699e713ce5d7ffb92037cbb0
treefebf23606f5e6ebc7b4f91c6f250991de5b783ef
parent8fd51240983f4c2ff2a73d907ccb1c597bd5d835
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
(cherry picked from commit 913f45bc16dd2c35f7be772d5867f9208064498a)
neutron/tests/unit/bigswitch/test_restproxy_plugin.py