Bugfix: make security_scan authorized 03/29703/2
authorLinda Wang <wangwulin@huawei.com>
Fri, 3 Mar 2017 07:19:08 +0000 (07:19 +0000)
committerLinda Wang <wangwulin@huawei.com>
Fri, 3 Mar 2017 08:02:09 +0000 (08:02 +0000)
commitf73bb0c60abc32d67dc6bc0a41ad923fb89aeb3d
tree2632cfafeff2ecfeb2d1aa9ab26c707542f48de1
parenta5cb507c061738a50ca358147a135a1c4498ff22
Bugfix: make security_scan authorized

JIRA: FUNCTEST-732

"OS_AUTH_URL" in the file "stackrc" in undercloud is needed when
trying to obtain controller and compute nodes of openstack.
Thus, when running the security_scan.py, source stackrc is needed.
This patch will make security_scan work in CI until the patch in
securityscanning repo is merged:
https://gerrit.opnfv.org/gerrit/#/c/29705/

Change-Id: I379c3a71522973887d1ea698ab1df761354e6c36
Signed-off-by: Linda Wang <wangwulin@huawei.com>
functest/opnfv_tests/features/security_scan.py