Federico Ressi 3f5320f43b 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
2016-09-05 11:47:41 +00:00

8 lines
348 B
Plaintext

[DEFAULT]
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 ./ . -s collectd_ceilometer.tests $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list