Add import for filesystem_store_datadir config.

Adds a missing CONF import for the filesystem_store_datadir.
This is required in order to make the policy tests (test_policy.py)
run as a stand alone suite.

Fixes: NoSuchOptError: no such option: filesystem_store_datadir

Fixes LP Bug #1098670.

Change-Id: If8f9db3962b070e7841e4e3ef531dda4645624b7
This commit is contained in:
Dan Prince 2013-01-11 13:04:38 -05:00
parent a1a4862ecb
commit cf97f6f1aa

View File

@ -28,6 +28,7 @@ from glance.tests import stubs
from glance.tests import utils as test_utils
CONF = cfg.CONF
CONF.import_opt('filesystem_store_datadir', 'glance.store.filesystem')
class StoreClearingUnitTest(test_utils.BaseTestCase):