def setup_class(self): self.app = app.test_client()
def setUp(self): app.testing = True self.client = app.test_client()