Fix nosetests call in run_unit_tests.sh 71/23371/2
authorCédric Ollivier <cedric.ollivier@orange.com>
Wed, 19 Oct 2016 15:52:41 +0000 (17:52 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Thu, 20 Oct 2016 09:27:53 +0000 (11:27 +0200)
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 <cedric.ollivier@orange.com>
docker/requirements.pip
run_unit_tests.sh

index 7ba1a35..6c3a195 100644 (file)
@@ -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
index a37cd3d..80767d4 100755 (executable)
@@ -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