diff options
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | run_tests.sh | 6 |
2 files changed, 7 insertions, 1 deletions
@@ -4,4 +4,4 @@ release: python setup.py register sdist upload test: - PYTHONPATH=.:$$PYTHONPATH; django-admin.py test tests --settings=wkhtmltopdf.test_settings + ./run_tests.sh diff --git a/run_tests.sh b/run_tests.sh new file mode 100755 index 0000000..1cb1dd5 --- /dev/null +++ b/run_tests.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +export WKHTMLTOPDF_CMD=`pwd`/wkhtmltox_folder/wkhtmltox/bin/wkhtmltopdf; +export PYTHONPATH=.:$$PYTHONPATH; + +django-admin.py test tests --settings=wkhtmltopdf.test_settings |