def setUpClass(cls):
     """
     Set up the test client
     :return:
     """
     cls.client = app.test_client(use_cookies=True)
     cls.headers = {'content-type': 'application/json'}
     metadata.create_all(bind=test_engine)
 def setUp(self):
     self.client = app.test_client()
     self.headers = {
         'HTTP_AUTHORIZATION': token_http_auth('123456789')
     } 
 def setUp(self):
     self.client = app.test_client(True)
     self.headers = {'content-type': 'application/json'}
     self.url = url
     self.request_method = self.client.get
 def setUp(self):
     app.testing = True
     self.app = app.test_client()