env variable support for test DB url 47/30447/3
authorMorgan Richomme <morgan.richomme@orange.com>
Tue, 14 Mar 2017 15:57:05 +0000 (16:57 +0100)
committerMorgan Richomme <morgan.richomme@orange.com>
Wed, 15 Mar 2017 08:23:00 +0000 (09:23 +0100)
commit0c194ede4dd9eb46b61af49e85527fcc368a8fca
tree325c5d854b5ab1c6e269f43ab363fe5b78dd1dde
parent11d59071a11fcec1ef9fcd323070c6d4f151c7cd
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>
functest/tests/unit/utils/test_functest_utils.py
functest/utils/functest_utils.py