

def get_json(self, path):
    self.conn.request('GET', path)
    res = self.conn.getresponse()
    self.assertEquals(res.status, 200)
    res = json.loads(res.read())
    return res

dataset/ETHPy150Open natduca/quickopen/src/daemon_test.py DaemonTest.get_json/original