def app(): """Global skylines application fixture Initialized with testing config file. """ app = create_app(config_file=config.TESTING_CONF_PATH) yield app
def setup_app(): app = create_app(config_file=config.TESTING_CONF_PATH) app.add_babel() with app.test_request_context(): g.current_user = None yield