def setUp(self):
self.application = create_app('config.LoadedConfig')
self.ctx = self.application.app_context()
self.ctx.push()
current_app.config.from_object(config.LoadedConfig)
current_app.register_blueprint(ga4gh)
current_app.testing = True
self.tester = current_app.test_client()
评论列表
文章目录