def setUp(self): """Create the client for this test """ self.client = APP.test_client()
from api.app import APP if __name__ == "__main__": APP.config.from_object(__name__) APP.debug = True APP.run()
def setUp(self): """ Set up test """ self.client = APP.test_client()
def setUp(self): self.client = APP.test_client(self)
def setUp(self): """Create the client object """ self.client = APP.test_client()