

def test_format_int_status(self):
    req = MagicMock()
    resp = MagicMock()
    resp.status = 200
    hook_format(req, resp)
    self.assertEquals(resp.status, '200 OK')

dataset/ETHPy150Open softlayer/jumpgate/tests/jumpgate-tests/common/hooks/test_hooks.py TestHookFormat.test_format_int_status/original