Use testr to run the unit tests.
Run unit tests with: ./setup.py testr
This commit is contained in:
parent
2e95bda5db
commit
fabcdf19c8
|
@ -3,3 +3,5 @@
|
|||
build
|
||||
dist
|
||||
heat_cfntools.egg-info/
|
||||
.testrepository/
|
||||
subunit.log
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[DEFAULT]
|
||||
test_command=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ ./heat_cfntools/tests $LISTOPT $IDOPTION
|
||||
test_id_option=--load-list $IDFILE
|
||||
test_list_option=--list
|
Loading…
Reference in New Issue