def create_app(self): app = create_app() app.config['TESTING'] = True app.config['SECRET_KEY'] = 'SECRET KEY' return app
from edible_mushroom import create_app app = create_app()