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

check doctest result

parent 0e0efbb1
No related branches found
No related tags found
1 merge request!68Doctest must return an error code in case of failure
......@@ -12,4 +12,5 @@ import labelstower
labelstower.bp.db = SQLAlchemy(app)
import doctest
print(doctest.testmod(labelstower.getter,verbose=True))
(failure_count, test_count) = doctest.testmod(labelstower.getter,verbose=True)
failure_count == 0
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