Make testr tests run properly

This commit is contained in:
Monty Taylor 2013-07-15 13:54:00 -04:00
parent 8103db2161
commit a49f74bc11
3 changed files with 11 additions and 0 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@ storyboard.db
AUTHORS
ChangeLog
*.egg-info
.testrepository

9
.testr.conf Normal file
View File

@ -0,0 +1,9 @@
[DEFAULT]
test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
DJANGO_SETTINGS_MODULE=storyboard.settings \
${PYTHON:-python} -m subunit.run discover -t ./ ./ $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list

View File

@ -6,6 +6,7 @@ setenv = VIRTUAL_ENV={envdir}
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=C
DJANGO_SETTINGS_MODULE=storyboard.settings
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt