Fix oslo.config.cfg.NoSuchOptError when running individual tests
We need to import cinder.common.config wherever we are using an olso
configuration option from this module. Otherwise it is not necessarily
the case that olso knows about the option and it complains.
cinder.tests imports this configuration module but it not the case that
this module has been imported when you you are running individual tests.
Reviewed: https:/ /review. openstack. org/38148 github. com/openstack/ cinder/ commit/ 546ed2dc498e118 2859ebab19a3459 e49bbe48ca
Committed: http://
Submitter: Jenkins
Branch: master
commit 546ed2dc498e118 2859ebab19a3459 e49bbe48ca
Author: Michael Kerrin <email address hidden>
Date: Mon Jul 22 13:35:37 2013 +0000
Fix oslo.config. cfg.NoSuchOptEr ror when running individual tests
We need to import cinder. common. config wherever we are using an olso
configuration option from this module. Otherwise it is not necessarily
the case that olso knows about the option and it complains.
cinder.tests imports this configuration module but it not the case that
this module has been imported when you you are running individual tests.
Change-Id: I8f2c966848f55c 80213d2ecd2dbf7 5b777627e6b
Fixes: bug #1203737