def test_has_remote_addr(self):
    result = dict(get_environ({'REMOTE_ADDR': '127.0.0.1'}))
    self.assertIn('REMOTE_ADDR', result)
    self.assertEquals(result['REMOTE_ADDR'], '127.0.0.1')
def test_has_remote_addr(self):
    result = dict(get_environ({'REMOTE_ADDR': '127.0.0.1'}))
    self.assertIn('REMOTE_ADDR', result)
    self.assertEquals(result['REMOTE_ADDR'], '127.0.0.1')