Fix test runner
parent
e47a41e461
commit
b954e50ecc
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue