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.assertEqual(self.srmock.status, falcon.HTTP_201)
|
||||
|
||||
location = ('Location', '/v1/queues/gumshoe')
|
||||
self.assertIn(location, self.srmock.headers)
|
||||
location = self.srmock.headers_dict['Location']
|
||||
self.assertEqual(location, '/v1/queues/gumshoe')
|
||||
|
||||
# Ensure queue existence
|
||||
self.simulate_head(path, project_id)
|
||||
|
Loading…
Reference in New Issue
Block a user