daisycloud-core/code/daisy/.testr.conf
Zhijiang Hu bd6ae775f2 Use tox to run unit test
Prev we use:
source /path/to/somewhere/.venv/bin/activate
cd $WORKSPACE/code/daisy/daisy/tests
python -m unittest discover

With this patch, we can now use tox -epy27 to run our unit test.

Change-Id: I71c30cf319ad15d778165bd6f787a1d48df838ac
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2016-11-27 23:25:46 -05:00

4 lines
89 B
Plaintext

[DEFAULT]
test_command=${PYTHON:-python} -m unittest discover $LISTOPT
test_list_option=