From: Yun Huang Date: Wed, 14 Feb 2018 02:25:18 +0000 (+0800) Subject: Centralize settings of UT X-Git-Tag: v1.1.2~225 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=60cc6423ee6cfea404bde034f95cd6162d82d53c;p=multicloud%2Fopenstack.git Centralize settings of UT Change-Id: Ia669d463da422804fca1912a87506b1bacb57512 Issue-ID: MULTICLOUD-83 Signed-off-by: Yun Huang --- diff --git a/windriver/titanium_cloud/settings.py b/windriver/titanium_cloud/settings.py index 8d2684e7..750e69d5 100644 --- a/windriver/titanium_cloud/settings.py +++ b/windriver/titanium_cloud/settings.py @@ -12,6 +12,8 @@ import os import sys +CACHE_EXPIRATION_TIME = 3600 + # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) @@ -114,6 +116,9 @@ CACHES = { } } +OPENSTACK_VERSION = "newton" +MULTIVIM_VERSION = "multicloud-" + OPENSTACK_VERSION + if 'test' in sys.argv: from titanium_cloud.pub.config import config