def __init__(self): self.tc = app.test_client() self.tc.get("/login") self.resource = Resource() self.headers = {'Content-Type': 'application/json', "X-Requested-By": "gGRC" } self.user_headers = {} self.person_name = None self.person_email = None
def __init__(self): self.client = app.test_client() wrap_client_calls(self.client) self.client.get("/login") self.resource = Resource() self.headers = { 'Content-Type': 'application/json', "X-Requested-By": "GGRC", 'X-usertimezoneoffset': '120' } self.user_headers = {} self.person_name = None self.person_email = None