def before_all(*args): app = create_app({ 'session_key': 'secret_session', 'jwt_key': 'super_sauce' }) clear_db(app) basic_fixture(app) app.config['TESTING'] = True world.app = app.test_client()
from av_dashboard import create_app app = create_app()
from av_dashboard import create_app if __name__ == "__main__": create_app().run()