

def post_json(self, path, data):
    self.conn.request('POST', path, json.dumps(data))
    res = self.conn.getresponse()
    self.assertEquals(res.status, 200)
    res = json.loads(res.read())
    return data

dataset/ETHPy150Open natduca/quickopen/src/daemon_test.py DaemonTest.post_json/VarMisuse@67/74 `res`->`data`