def test_has_remote_addr(self):
    result = get_client_ip({'REMOTE_ADDR': '127.0.0.1'})
    self.assertEquals(result, '127.0.0.1')
def test_has_remote_addr(self):
    result = get_client_ip({'REMOTE_ADDR': '127.0.0.1'})
    self.assertEquals(result, '127.0.0.1')