]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
test_l3_plugin: L3AgentDbInteTestCase L3AgentDbSepTestCase fails
authorIsaku Yamahata <isaku.yamahata@intel.com>
Wed, 30 Jul 2014 09:07:04 +0000 (18:07 +0900)
committerIsaku Yamahata <isaku.yamahata@intel.com>
Wed, 30 Jul 2014 10:32:31 +0000 (19:32 +0900)
commit748d4fdaf62667f39ce65e5053792b54dd684698
treeebbed8067e8e995e768846a167ed28d8b12ab3ac
parent461a910478e89fa666bb6ecccfcfa6fb94ce6095
test_l3_plugin: L3AgentDbInteTestCase L3AgentDbSepTestCase fails

L3AgentDbInteTestCase and L3AgentDbSepTestCase fails when they are run
independently without other test case. something like
tox -e py27 neutron.tests.unit.test_l3_plugin
It's because necessary oslo.config options aren't properly initialized
when instantiating service plugin.
Initialize config before instantiating plugin.

Change-Id: Ic6dd28e3caf8b9e3322bf2df99e67adb138cb234
Closes-Bug: #1350252
neutron/tests/unit/test_l3_plugin.py