summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nova/tests/functional/fixtures.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/nova/tests/functional/fixtures.py b/nova/tests/functional/fixtures.py
index 5c4305d..419deba 100644
--- a/nova/tests/functional/fixtures.py
+++ b/nova/tests/functional/fixtures.py
@@ -144,7 +144,9 @@ class PlacementFixture(placement_fixtures.PlacementFixture):
144 # TODO(sbauza): The current placement NoAuthMiddleware returns a 401 144 # TODO(sbauza): The current placement NoAuthMiddleware returns a 401
145 # in case a token is not provided. We should change that by creating 145 # in case a token is not provided. We should change that by creating
146 # a fake token so we could remove adding the header below. 146 # a fake token so we could remove adding the header below.
147 headers = {'x-auth-token': self.token}
148 self._update_headers_with_version(headers, **kwargs)
147 return self._client.delete( 149 return self._client.delete(
148 url, 150 url,
149 endpoint_override=self.endpoint, 151 endpoint_override=self.endpoint,
150 headers={'x-auth-token': self.token}) 152 headers=headers)