diff --git a/tests/unit/queues/transport/wsgi/test_queue_lifecycle.py b/tests/unit/queues/transport/wsgi/test_queue_lifecycle.py index a6b8e8c1d..865a354a2 100644 --- a/tests/unit/queues/transport/wsgi/test_queue_lifecycle.py +++ b/tests/unit/queues/transport/wsgi/test_queue_lifecycle.py @@ -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)