From 3f5320f43bfe46b61ac6377429270fe03cf128e4 Mon Sep 17 00:00:00 2001 From: Federico Ressi Date: Fri, 26 Aug 2016 22:47:58 +0100 Subject: [PATCH] Discover only tests in tests folder. This is to prevent python 3 unittest2 failing to load all modules when libvirt is not installed. Partial-Bug: #1617432 Change-Id: I37d8d21d4cd0bda099ea08b8b2f807e006edcab8 --- .testr.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.testr.conf b/.testr.conf index 6d83b3c..97e0fd2 100644 --- a/.testr.conf +++ b/.testr.conf @@ -2,6 +2,6 @@ test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \ - ${PYTHON:-python} -m subunit.run discover -t ./ . $LISTOPT $IDOPTION + ${PYTHON:-python} -m subunit.run discover -t ./ . -s collectd_ceilometer.tests $LISTOPT $IDOPTION test_id_option=--load-list $IDFILE test_list_option=--list