monasca-persister/.testr.conf
Laszlo Hegedus b3f9359608 Add persister.py unit tests
Add unit tests for persister.py in root directory.
Additionally:
* switched to testr as it seems to be used in many
openstack projects
* enabled coverage

Change-Id: I429ef6a900808c192ad5613c13808583d33fde24
2017-01-12 09:18:29 +00:00

9 lines
413 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:-160} \
${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./monasca_persister/tests} $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list
group_regex=monasca_persister\.tests(?:\.|_)([^_]+)