summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/common/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'testapi/opnfv_testapi/common/config.py')
-rw-r--r--testapi/opnfv_testapi/common/config.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/testapi/opnfv_testapi/common/config.py b/testapi/opnfv_testapi/common/config.py
index 70d7bd6..46765ff 100644
--- a/testapi/opnfv_testapi/common/config.py
+++ b/testapi/opnfv_testapi/common/config.py
@@ -17,6 +17,10 @@ class Config(object):
def __init__(self):
self.file = self.CONFIG if self.CONFIG else self._default_config()
self._parse()
+ self.static_path = os.path.join(
+ os.path.dirname(os.path.normpath(__file__)),
+ os.pardir,
+ 'static')
def _parse(self):
if not os.path.exists(self.file):