# Path: app.py
# def make_celery(app):
#         def __call__(self, *args, **kwargs):
# def create_app():
# def create_test_app():
#     class ContextTask(TaskBase):
# 
# Path: scan/log.py
# LOGGING = {
#     'version': 1,
#     'disable_existing_loggers': False,
#     'formatters': {
#         'standard': {
#             'format': '%(asctime)s %(levelname)s %(process)d '
#                       '[%(name)s] %(filename)s:%(lineno)d - %(message)s',
#             },
#         'syslog_format': {'format': syslog_format},
#         'raw': {'format': '%(message)s'},
#         },
#     'handlers': {
#         'console': {
#             'level': 'DEBUG',
#             'class': 'logging.StreamHandler',
#             'formatter': 'standard',
#             'stream': sys.stdout,
#             }
#     },
#     'loggers': {
#         'requests.packages.urllib3.connectionpool': {
#             'handlers': [],
#             'propagate': False,
#             'level': 'DEBUG',
#             },
#         '': {
#             'handlers': ['console'],
#             'level': 'DEBUG',
#             'propagate': False
#         },
#         }
# }


from flask.ext.testing import TestCase
from mock import patch
from app import create_test_app, db
from scan.log import logging

app = create_test_app()
db.app = app
db.init_app(app)


# Path: app.py
# def make_celery(app):
#         def __call__(self, *args, **kwargs):
# def create_app():
# def create_test_app():
#     class ContextTask(TaskBase):
# 
# Path: scan/log.py
# LOGGING = {
#     'version': 1,
#     'disable_existing_loggers': False,
#     'formatters': {
#         'standard': {
#             'format': '%(asctime)s %(levelname)s %(process)d '
#                       '[%(name)s] %(filename)s:%(lineno)d - %(message)s',
#             },
#         'syslog_format': {'format': syslog_format},
#         'raw': {'format': '%(message)s'},
#         },
#     'handlers': {
#         'console': {
#             'level': 'DEBUG',
#             'class': 'logging.StreamHandler',
#             'formatter': 'standard',
#             'stream': sys.stdout,
#             }
#     },
#     'loggers': {
#         'requests.packages.urllib3.connectionpool': {
#             'handlers': [],
#             'propagate': False,
#             'level': 'DEBUG',
#             },
#         '': {
#             'handlers': ['console'],
#             'level': 'DEBUG',
#             'propagate': False
#         },
#         }
# }


# Path: core/tests/base.py
from flask.ext.testing import TestCase
from mock import patch
from app import create_test_app, db
from scan.log import logging


app = create_test_app()
db.app = app
db.init_app(app)


log = logging.getLogger(__name__)