Skip to content

Commit efb5fe8

Browse files
committed
Fix python tests
1 parent 7e5523b commit efb5fe8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/python/run-tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ export OSTYPE=linux
1010
. env/bin/activate
1111
pip install -r requirements.txt
1212
python setup.py develop
13-
python tests/test_solve.py
13+
PYTHONPATH=. python tests/test_solve.py
1414

1515
# About to test cli
16-
OUTPUT=`echo 14 | ./env/bin/advent-of-code-py 2019 1 1`
16+
OUTPUT=`echo 14 | PYTHONPATH=. ./env/bin/advent-of-code-py 2019 1 1`
1717
if [ "${OUTPUT}" != 2 ]; then
1818
echo "Incorrect output: $OUTPUT"
1919
exit 1

0 commit comments

Comments
 (0)