mirror of
https://github.com/ankitects/anki.git
synced 2025-11-09 14:17:13 -05:00
Merge pull request #113 from socialpercon/master
PYTHONPATH added when tests script run
This commit is contained in:
commit
e645ce5b65
1 changed files with 3 additions and 0 deletions
|
|
@ -5,6 +5,9 @@
|
||||||
# tools/tests.sh decks # test only test_decks.py
|
# tools/tests.sh decks # test only test_decks.py
|
||||||
# coverage=1 tools/tests.sh # run with coverage test
|
# coverage=1 tools/tests.sh # run with coverage test
|
||||||
|
|
||||||
|
BIN="$(cd "`dirname "$0"`"; pwd)"
|
||||||
|
export PYTHONPATH=${BIN}/..:${PYTHONPATH}
|
||||||
|
|
||||||
dir=.
|
dir=.
|
||||||
|
|
||||||
if [ x$1 = x ]; then
|
if [ x$1 = x ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue