Skip to content

Commit

Permalink
Make testr tests run properly
Browse files Browse the repository at this point in the history
  • Loading branch information
emonty committed Jul 15, 2013
1 parent 8103db2 commit a49f74b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ storyboard.db
AUTHORS
ChangeLog
*.egg-info
.testrepository
9 changes: 9 additions & 0 deletions .testr.conf
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a49f74b

Please sign in to comment.