

def test_get_object(self):
    status_codes = [200]
    internal_proxy.Application = DumbApplicationFactory(status_codes)
    p = internal_proxy.InternalProxy()
    (code, body) = p.get_object('a', 'c', 'o')
    body = ''.join(body)
    self.assertEquals(code, 200)
    self.assertEquals(body, '')

dataset/ETHPy150Open notmyname/slogging/test_slogging/unit/test_internal_proxy.py TestInternalProxy.test_get_object/original