]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Big Switch: Import DB module in unit test
authorKevin Benton <blak111@gmail.com>
Thu, 12 Jun 2014 08:35:10 +0000 (01:35 -0700)
committerKevin Benton <blak111@gmail.com>
Thu, 12 Jun 2014 08:43:45 +0000 (01:43 -0700)
commit85db592d43c82e352e64121a435720bf4a4a1450
tree02cc38180421370173ba44cd5e874e8231a9f5c5
parent5c3b67a025d6bcbc247584d4523d48cc14a8d59d
Big Switch: Import DB module in unit test

Import the portbinding db module in the Big Switch base test case
so the table gets created before the test is run. Otherwise the
tests will fail when being run with testtools because the portbinding
db isn't normally imported until a function call from the Plugin.

Closes-Bug: #1331240
Change-Id: Icbd2248a0c013c142ccf9b302a1ffa15c5a4e5ae
neutron/tests/unit/bigswitch/test_base.py