From cf97f6f1aa417af7399dc82e3b0ce0cf6ee16dc7 Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Fri, 11 Jan 2013 13:04:38 -0500 Subject: [PATCH] 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 --- glance/tests/unit/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/glance/tests/unit/base.py b/glance/tests/unit/base.py index abc0981932..8b07ab23d5 100644 --- a/glance/tests/unit/base.py +++ b/glance/tests/unit/base.py @@ -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):