./run_tests.sh -s -d -v gbp.neutron.tests.unit.db.grouppolicy.test_group_policy_db
Traceback (most recent call last):
File "gbp/neutron/tests/unit/services/grouppolicy/test_grouppolicy_plugin.py", line 31, in setUp
gp_plugin=GP_PLUGIN_KLASS
File "gbp/neutron/tests/unit/db/grouppolicy/test_group_policy_db.py", line 201, in setUp
self.plugin = importutils.import_object(gp_plugin)
File "/root/gitr/gpm-stackforge/gbp-api-2/.venv/local/lib/python2.7/site-packages/neutron/openstack/common/importutils.py", line 38, in import_object
return import_class(import_str)(*args, **kwargs)
File "gbp/neutron/services/grouppolicy/plugin.py", line 37, in _init_
self.policy_driver_manager = manager.PolicyDriverManager()
File "gbp/neutron/services/grouppolicy/policy_driver_manager.py", line 71, in _init_
name_order=True)
File "/root/gitr/gpm-stackforge/gbp-api-2/.venv/local/lib/python2.7/site-packages/stevedore/named.py", line 56, in _init_
self._init_plugins(extensions)
File "/root/gitr/gpm-stackforge/gbp-api-2/.venv/local/lib/python2.7/site-packages/stevedore/named.py", line 112, in _init_plugins
self.extensions = [self[n] for n in self._names]
File "/root/gitr/gpm-stackforge/gbp-api-2/.venv/local/lib/python2.7/site-packages/stevedore/extension.py", line 276, in _getitem_
return self._extensions_by_name[name]
KeyError: 'dummy'
Workaround:
python setup.py build
and then run_tests.sh