def setUp(self): configuration.test_mode() app.config['TESTING'] = True self.app = app.test_client()
def setUp(self): configuration.test_mode() utils.initdb() app.config['TESTING'] = True self.app = app.test_client()
def setUp(self): configuration.test_mode() app.config["TESTING"] = True self.app = app.test_client()