Inject all envs in openrc into CONST 31/50031/1
authorLinda Wang <wangwulin@huawei.com>
Fri, 15 Dec 2017 02:57:26 +0000 (02:57 +0000)
committerCédric Ollivier <cedric.ollivier@orange.com>
Thu, 4 Jan 2018 10:58:12 +0000 (11:58 +0100)
commit44cbd875b1f5b0b7950b4f6865b2ca01881532d0
tree6fc8ab367b4a07900e20cc61870f46d1ccd0d148
parent5e3bf15dfd827c41d6a52ad40711a8ec0fbe42f7
Inject all envs in openrc into CONST

After "env_prepare" is removed, some specific vars in openrc
(eg,."EXTERNAL_NETWORK") loaded to os.environ should be injected
into CONST in one python process.

Conflicts:
    functest/ci/run_tests.py

Change-Id: Iaa5c6047033dc2a30c533174e2016111759aec31
Signed-off-by: Linda Wang <wangwulin@huawei.com>
(cherry picked from commit 6a2ee8883daf1795ec84fc2868c17c0723025447)
functest/ci/run_tests.py
functest/utils/openstack_utils.py