senlin/.testr.conf
lvdongbing 846f8175dd Support single test
Support to run single test, e.g.
tox -epy27 -- -n senlin.tests.unit.profiles.test_nova_server
Change-Id: I1bc36a624b7cfced3aba721bfeeb780c3b5e3214
2015-11-24 02:03:39 -05:00

7 lines
243 B
Plaintext

[DEFAULT]
test_command=
PYTHON=$(echo ${PYTHON:-python} | sed 's/--source senlin//g')
${PYTHON} -m subunit.run discover ${OS_TEST_PATH:-./senlin/tests} -t . $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list