From b56e69f7e3d4fb567864a30d3ef6196cf2ec24af Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Wed, 19 Oct 2016 17:52:41 +0200 Subject: Fix nosetests call in run_unit_tests.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- docker/requirements.pip | 1 + run_unit_tests.sh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/requirements.pip b/docker/requirements.pip index 7ba1a350c..6c3a195fc 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 a37cd3d98..80767d4d3 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 -- cgit 1.2.3-korg