diff options
author | ashishk1994 <ashishk.iiit@gmail.com> | 2016-12-29 20:11:28 +0530 |
---|---|---|
committer | ashishk1994 <ashishk.iiit@gmail.com> | 2017-01-09 17:57:24 +0530 |
commit | 47935c2fe486bce6d154589229c989271ebd0f08 (patch) | |
tree | e0088f9ec955fbced98fdb3fc3edc2e910fbd330 /functest/opnfv_tests/security_scan | |
parent | 254a7e643bccd48bf562f8362745783dfb9542b4 (diff) |
Refactoring of args and parser variable in ci/run_tests, prepare_env
Can't import run_tests in test_run_tests.py (new unit test file).
It is throwing error: nosetests: error: unrecognized arguments
It is because of declaration of parser and args which are global
in file, So to allow safe import of this file,
we need to declare it into __main__ branch.
Change-Id: Ie11ebcfd8a1b8e692bd8bf4260a54f752b67fd5e
Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
Diffstat (limited to 'functest/opnfv_tests/security_scan')
0 files changed, 0 insertions, 0 deletions