Merge "test: Use srmock header_dict in preparation for Falcon 0.1.8"
This commit is contained in:
commit
1765a8c3b8
@ -63,8 +63,8 @@ class QueueLifecycleBaseTest(base.TestBase):
|
|||||||
self.simulate_put(path, project_id)
|
self.simulate_put(path, project_id)
|
||||||
self.assertEqual(self.srmock.status, falcon.HTTP_201)
|
self.assertEqual(self.srmock.status, falcon.HTTP_201)
|
||||||
|
|
||||||
location = ('Location', '/v1/queues/gumshoe')
|
location = self.srmock.headers_dict['Location']
|
||||||
self.assertIn(location, self.srmock.headers)
|
self.assertEqual(location, '/v1/queues/gumshoe')
|
||||||
|
|
||||||
# Ensure queue existence
|
# Ensure queue existence
|
||||||
self.simulate_head(path, project_id)
|
self.simulate_head(path, project_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user