env variable support for test DB url 57/30657/1
authorMorgan Richomme <morgan.richomme@orange.com>
Tue, 14 Mar 2017 15:57:05 +0000 (16:57 +0100)
committerMorgan Richomme <morgan.richomme@orange.com>
Thu, 16 Mar 2017 07:29:12 +0000 (07:29 +0000)
commit95186502a7680a2708c3b1271fd1250a1a171727
treeabd825aba4095af78c55ee3f694b28a89bb017c7
parent799e5f8cb3bcc4e71a67be56f1b789c20bb129ac
env variable support for test DB url

So far DB url was retrieved from configuration file
If you want to use the CI chain (jenkins, testapi, test DB,
functest, ..) then you have a problem

calling functest will systematically point to the configuration
from the repo
Supporting env variable allow to avoid post processing in the
configuration file and as a consequence offer the possibility
to create a local DB to host local results

Change-Id: Ie64b8b265827d7f5724c7066a8c173de8cf012e2
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
(cherry picked from commit 0c194ede4dd9eb46b61af49e85527fcc368a8fca)
functest/tests/unit/utils/test_functest_utils.py
functest/utils/functest_utils.py