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

check python res

parent 46ea919e
No related branches found
No related tags found
1 merge request!68Doctest must return an error code in case of failure
#!/usr/bin/env python3
import os
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
......@@ -11,6 +10,6 @@ app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
import labelstower
labelstower.bp.db = SQLAlchemy(app)
import doctest
import sys, doctest
(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