from testrail_reporting import create_app app = create_app('production')
def setUp(self): self.app = create_app('testing') self.app_context = self.app.app_context() self.app_context.push()