# Path: makesite/modules/flask/base/app.py
# def create_app(config=None, **skip):
#     app = Flask(__name__)
#     app.config.from_object(config or production)
#     app.config.from_envvar("APP_SETTINGS", silent=True)
# 
#     from .ext import config_extensions
#     config_extensions(app)
# 
#     from .loader import loader
#     loader.register(app)
# 
#     return app
# 
# Path: makesite/modules/flask/base/config/test.py
# SQLALCHEMY_DATABASE_URI = 'sqlite:///:memory:'
# CSRF_ENABLED = False
# CACHE_TYPE = 'simple'
# 
# Path: makesite/modules/flask/base/ext.py
# def config_extensions(app):
# def config_babel(app):
#     def get_locale():


from flask_testing import TestCase
from ..app import create_app
from ..config import test
from ..ext import db
        from base.auth.models import User
        from base.auth.models import Role, User
        from manage import manager
        from flask import url_for



class BaseCoreTest(TestCase):

    def create_app(self):
        return create_app(test)

    def setUp(self):

# Path: makesite/modules/flask/base/app.py
# def create_app(config=None, **skip):
#     app = Flask(__name__)
#     app.config.from_object(config or production)
#     app.config.from_envvar("APP_SETTINGS", silent=True)
# 
#     from .ext import config_extensions
#     config_extensions(app)
# 
#     from .loader import loader
#     loader.register(app)
# 
#     return app
# 
# Path: makesite/modules/flask/base/config/test.py
# SQLALCHEMY_DATABASE_URI = 'sqlite:///:memory:'
# CSRF_ENABLED = False
# CACHE_TYPE = 'simple'
# 
# Path: makesite/modules/flask/base/ext.py
# def config_extensions(app):
# def config_babel(app):
#     def get_locale():


# Path: makesite/modules/flask/base/auth/tests.py
from flask_testing import TestCase
from ..app import create_app
from ..config import test
from ..ext import db
        from base.auth.models import User
        from base.auth.models import Role, User
        from manage import manager
        from flask import url_for




class BaseCoreTest(TestCase):

    def create_app(self):
        return create_app(test)

    def setUp(self):

        db.create_all()