summaryrefslogtreecommitdiff
path: root/keystone/tests/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'keystone/tests/core.py')
-rw-r--r--keystone/tests/core.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/keystone/tests/core.py b/keystone/tests/core.py
index 5c051a48a..8cbbcb3e9 100644
--- a/keystone/tests/core.py
+++ b/keystone/tests/core.py
@@ -67,6 +67,11 @@ from keystone import token
from keystone.token import provider as token_provider
from keystone import trust
+# NOTE(dstanek): Tests inheriting from TestCase depend on having the
+# policy_file command-line option declared before setUp runs. Importing the
+# oslo policy module automatically declares the option.
+from keystone.openstack.common import policy as common_policy # noqa
+
LOG = logging.getLogger(__name__)
ROOTDIR = os.path.dirname(os.path.abspath('..'))