Fix test runner

badge-v2
Eric Holscher 2014-08-12 17:47:25 -07:00
parent e47a41e461
commit b954e50ecc
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ when you push to Github.
.. |coverage-status| image:: https://coveralls.io/repos/rtfd/readthedocs.org/badge.png
:alt: coverage status
:target: https://coveralls.io/r/readthedocs.org
:target: https://coveralls.io/r/rtfd/readthedocs.org
.. |docs| image:: https://readthedocs.org/projects/docs/badge/?version=latest
:alt: status

View File

@ -2,7 +2,7 @@ cd readthedocs
rm -rf rtd_tests/builds/
export PYTHONPATH=`pwd`:$PYTHONPATH
export DJANGO_SETTINGS_MODULE=settings.test
coverage run py.test $1
coverage run -m py.test $1
exit=$?
cd -
exit $exit