Merge "Revert "Add last_request_id member to HTTPClient and SessionClient""

This commit is contained in:
Jenkins
2016-12-14 17:35:22 +00:00
committed by Gerrit Code Review
2 changed files with 0 additions and 12 deletions
-8
View File
@@ -198,14 +198,6 @@ class TestClient(testtools.TestCase):
resp, body = self.client.get(path, headers=headers)
self.assertEqual(text, resp.text)
def test_request_id(self):
path = '/v1/images/detail'
self.mock.get(self.endpoint + path,
headers={"x-openstack-request-id": "req-aaa"})
self.client.get(path)
self.assertEqual(self.client.last_request_id, 'req-aaa')
def test_headers_encoding(self):
value = u'ni\xf1o'
headers = {"test": value, "none-val": None}