From 04150507cb6ebc7085d40e2f09c5006e685eedce Mon Sep 17 00:00:00 2001 From: helenyao Date: Mon, 5 Dec 2016 22:24:43 -0500 Subject: test-requirements.txt is added for unit test. JIRA: FUNCTEST-639 Some requirement packages are only needed by unit test and there is no need to include them in requirement.txt. This is the main reason to create a test-requirements.txt to hold all packages required by unit test. Change-Id: Iefa9f54b57666d30044ec174adfeb22d63b6b139 Signed-off-by: helenyao --- run_unit_tests.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'run_unit_tests.sh') diff --git a/run_unit_tests.sh b/run_unit_tests.sh index 9f7bb5046..05b3c4ee2 100755 --- a/run_unit_tests.sh +++ b/run_unit_tests.sh @@ -43,7 +43,9 @@ source $WORKSPACE/functest_venv/bin/activate # install python packages easy_install -U setuptools easy_install -U pip -pip install -r $WORKSPACE/requirements.txt +pip install -r $WORKSPACE/test-requirements.txt + + pip install -e $WORKSPACE python $WORKSPACE/setup.py develop -- cgit 1.2.3-korg