From: Cédric Ollivier Date: Wed, 19 Oct 2016 15:52:41 +0000 (+0200) Subject: Fix nosetests call in run_unit_tests.sh X-Git-Tag: 0.2~1117^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=b56e69f7e3d4fb567864a30d3ef6196cf2ec24af;p=functest-xtesting.git Fix nosetests call in run_unit_tests.sh It adds the missing whitespace and only lists the packages for which unit tests have been developped. It also adds python-neutronclient as requirement. Change-Id: Id14b0698cb3636333751d61ff954500a665e1551 Signed-off-by: Cédric Ollivier --- diff --git a/docker/requirements.pip b/docker/requirements.pip index 7ba1a350..6c3a195f 100644 --- a/docker/requirements.pip +++ b/docker/requirements.pip @@ -12,6 +12,7 @@ gitpython==1.0.1 python-openstackclient==2.3.0 python-ceilometerclient==1.5.1 python-keystoneclient==2.3.1 +python-neutronclient==4.1.1 virtualenv==1.11.4 pexpect==4.0 requests==2.8.0 diff --git a/run_unit_tests.sh b/run_unit_tests.sh index a37cd3d9..80767d4d 100755 --- a/run_unit_tests.sh +++ b/run_unit_tests.sh @@ -18,7 +18,8 @@ pip install -e . # unit tests nosetests --with-xunit \ --with-coverage \ - --cover-package=functest\ + --cover-package=functest.core.TestCasesBase \ + --cover-package=functest.testcases.Controllers.ODL.OpenDaylightTesting \ --cover-xml \ unit_tests