diff options
author | Yun Huang <yun.huang@windriver.com> | 2018-02-14 10:25:18 +0800 |
---|---|---|
committer | Yun Huang <yun.huang@windriver.com> | 2018-02-14 10:25:18 +0800 |
commit | 60cc6423ee6cfea404bde034f95cd6162d82d53c (patch) | |
tree | 7040e9f16b66e227d794cc04e7c6f9e4a1021fd1 /windriver/titanium_cloud/settings.py | |
parent | 8083053372919faadb37b7b32a1d2edc9334fcb0 (diff) |
Centralize settings of UT
Change-Id: Ia669d463da422804fca1912a87506b1bacb57512
Issue-ID: MULTICLOUD-83
Signed-off-by: Yun Huang <yun.huang@windriver.com>
Diffstat (limited to 'windriver/titanium_cloud/settings.py')
-rw-r--r-- | windriver/titanium_cloud/settings.py | 5 |
1 files changed, 5 insertions, 0 deletions
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 |