[Python-modules-commits] [flask-login] 02/04: allow choice of nosetests executable in run-tests.sh

Carl Suster arcresu-guest at moszumanska.debian.org
Thu Jan 12 01:46:59 UTC 2017


This is an automated email from the git hooks/post-receive script.

arcresu-guest pushed a commit to branch master
in repository flask-login.

commit 449cb9bdd32d7555ce6cf5b471c6c26eafd21567
Author: Carl Suster <carl at contraflo.ws>
Date:   Sun Jan 8 20:02:53 2017 +1100

    allow choice of nosetests executable in run-tests.sh
    
    Upstream hard codes `nosetests` but to run the tests for Python 3 this
    must be called as `nosetests3` so this change allows this.
    
    Forwarded: https://github.com/maxcountryman/flask-login/pull/329
---
 run-tests.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/run-tests.sh b/run-tests.sh
index 44c174a..17e5307 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -30,7 +30,7 @@ else
 fi
 
 log "Running tests..."
-nosetests $NOSETEST_OPTIONS 2>&1 | tee -a $OUTPUT_PATH/test.log
+${NOSETEST:-nosetests} $NOSETEST_OPTIONS 2>&1 | tee -a $OUTPUT_PATH/test.log
 ret=${PIPESTATUS[0]}
 
 echo

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/flask-login.git



More information about the Python-modules-commits mailing list