Skip to content
Snippets Groups Projects
Commit 1856c718 authored by CHAMONT David's avatar CHAMONT David
Browse files

check python res

parent 9791c18c
No related branches found
No related tags found
1 merge request!68Doctest must return an error code in case of failure
......@@ -12,4 +12,4 @@ labelstower.bp.db = SQLAlchemy(app)
import sys, doctest
(failure_count, test_count) = doctest.testmod(labelstower.getter,verbose=True)
failure_count == 0
sys.exit(failure_count)
......@@ -9,5 +9,5 @@ PWD=`pwd`
UP1=`dirname ${PWD}`
export PYTHONPATH=`dirname ${UP1}`
./run_doctest.py && echo OK
./run_doctest.py
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment