diff --git a/tests/__init__.py b/tests/__init__.py index bf1f385..e9f0d65 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -31,6 +31,7 @@ from sqlalchemy.orm import scoped_session sys.path.insert(0, os.path.join(os.path.dirname( os.path.abspath(__file__)), '..')) +import progit import progit.lib import progit.lib.model @@ -50,6 +51,9 @@ if os.environ.get('BUILD_ID'): except: pass +# Remove the log handlers for the tests +progit.LOG.handlers = [] + @contextmanager def user_set(APP, user):