From 60cc6423ee6cfea404bde034f95cd6162d82d53c Mon Sep 17 00:00:00 2001 From: Yun Huang Date: Wed, 14 Feb 2018 10:25:18 +0800 Subject: Centralize settings of UT Change-Id: Ia669d463da422804fca1912a87506b1bacb57512 Issue-ID: MULTICLOUD-83 Signed-off-by: Yun Huang --- windriver/titanium_cloud/settings.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'windriver/titanium_cloud') 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 -- cgit 1.2.3-korg