Skip to content

Commit

Permalink
Switch test runner to py.test
Browse files Browse the repository at this point in the history
  • Loading branch information
ericholscher committed Aug 2, 2014
1 parent d6327b3 commit 81d5e38
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ media/htmlzip
media/man
media/pdf
media/static
readthedocs/rtd_tests/builds
readthedocs/rtd_tests/tests/builds
user_builds
user_uploads
Expand Down
2 changes: 1 addition & 1 deletion pip_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ django-guardian==1.2.0
django-extensions==1.3.8
South==0.8.4
djangorestframework==2.3.14
django-nose==1.2
django-pytest==2.6.2

requests==2.3.0
slumber==0.6.0
Expand Down
4 changes: 3 additions & 1 deletion runtests.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
cd readthedocs
DJANGO_SETTINGS_MODULE=settings.test ./manage.py test --logging-clear-handlers ./
export PYTHONPATH=`pwd`:$PYTHONPATH
export DJANGO_SETTINGS_MODULE=settings.test
py.test
exit=$?
cd -
exit $exit

0 comments on commit 81d5e38

Please sign in to comment.