'Test handling of passing in the request uri.'

def test_with_uri(self):

    (resp, content) = fake_response('{', {'status': '400', 'content-type': 'application/json'}, reason='Failure')
    error = HttpError(resp, content, uri='http://example.org')
    self.assertEqual(str(error), '<HttpError    400    when    requesting    http://example.org    returned    "Failure">')
