diff --git a/neutron/tests/unit/bigswitch/test_base.py b/neutron/tests/unit/bigswitch/test_base.py index 53be0931e8..6e5a0f7fe7 100644 --- a/neutron/tests/unit/bigswitch/test_base.py +++ b/neutron/tests/unit/bigswitch/test_base.py @@ -25,6 +25,12 @@ from neutron.db import api as db from neutron.plugins.bigswitch import config from neutron.tests.unit.bigswitch import fake_server +# REVISIT(kevinbenton): This needs to be imported here to create the +# portbindings table since it's not imported until function call time +# in the porttracker_db module, which will cause unit test failures when +# the unit tests are being run by testtools +from neutron.db import portbindings_db # noqa + RESTPROXY_PKG_PATH = 'neutron.plugins.bigswitch.plugin' NOTIFIER = 'neutron.plugins.bigswitch.plugin.AgentNotifierApi' CALLBACKS = 'neutron.plugins.bigswitch.plugin.RestProxyCallbacks'