mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
PYTHONPATH added when tests script run
This commit is contained in:
parent
2d408cfe68
commit
67f935bf1f
1 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,9 @@
|
|||
# tools/tests.sh decks # test only test_decks.py
|
||||
# coverage=1 tools/tests.sh # run with coverage test
|
||||
|
||||
BIN="$(cd "`dirname "$0"`"; pwd)"
|
||||
export PYTHONPATH=${BIN}/..:${PYTHONPATH}
|
||||
|
||||
dir=.
|
||||
|
||||
if [ x$1 = x ]; then
|
||||
|
|
Loading…
Reference in a new issue