aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/tests
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-11-09 14:04:16 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2019-11-09 15:05:50 +0100
commit41e88f6515b177824a3b4d33183180b164d5bd61 (patch)
tree8a18dcf16b55c18b8c5401ab3eeef8d037e2c642 /xtesting/tests
parenta5bbece9c373b219fdfce1c21d84355a663ceb95 (diff)
Print Test API links in console
It adds TEST_DB_EXT_URL to print the right links in case of NAT or SSH port forwardings. Change-Id: If85b00de7325909facc903fba13a3fd59a1e705f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 384308c4a5af0a66ff9e78de17ace94ab7d1d51f)
Diffstat (limited to 'xtesting/tests')
-rw-r--r--xtesting/tests/unit/core/test_testcase.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/xtesting/tests/unit/core/test_testcase.py b/xtesting/tests/unit/core/test_testcase.py
index 3dbbac2c..73062149 100644
--- a/xtesting/tests/unit/core/test_testcase.py
+++ b/xtesting/tests/unit/core/test_testcase.py
@@ -58,6 +58,7 @@ class TestCaseTesting(unittest.TestCase):
self.test.result = 100
self.test.details = {"Hello": "World"}
os.environ['TEST_DB_URL'] = TestCaseTesting._test_db_url
+ os.environ['TEST_DB_EXT_URL'] = TestCaseTesting._test_db_url
os.environ['INSTALLER_TYPE'] = "installer_type"
os.environ['DEPLOY_SCENARIO'] = "scenario"
os.environ['NODE_NAME'] = "node_name"