import os, sys sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) from bookmarks import create_app app = create_app()
def app(): """Return the flask application.""" my_app = create_app('config.TestConfig') return my_app
from bookmarks import create_app app = create_app()