aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2016-10-19 17:52:41 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2016-10-20 11:27:53 +0200
commitb56e69f7e3d4fb567864a30d3ef6196cf2ec24af (patch)
tree2f261ffd4822df82b52e76745fc2ae0682e94d86
parent9cab15dfbac796fa1f5122bbea580e84411b73cf (diff)
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 <cedric.ollivier@orange.com>
-rw-r--r--docker/requirements.pip1
-rwxr-xr-xrun_unit_tests.sh3
2 files changed, 3 insertions, 1 deletions
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