From 384308c4a5af0a66ff9e78de17ace94ab7d1d51f Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sat, 9 Nov 2019 14:04:16 +0100 Subject: Print Test API links in console MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- xtesting/tests/unit/core/test_testcase.py | 1 + 1 file changed, 1 insertion(+) (limited to 'xtesting/tests/unit') 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" -- cgit 1.2.3-korg