diff --git a/test.sh b/test.sh index 737cece..5c4bc8f 100755 --- a/test.sh +++ b/test.sh @@ -23,6 +23,8 @@ else python -m pytest fooder --disable-warnings -sv fi +status=$? + # unset test env values unset POSTGRES_USER unset POSTGRES_DATABASE @@ -32,3 +34,5 @@ unset REFRESH_SECRET # if exists, remove test.db [ -f test.db ] && rm test.db + +exit $status