示例#1
0
 def setUp(self):
     self.app = create_app(config=TestConfig())
     with self.app.test_request_context():
         reset_db()