Fix Zaqar's cleanup

The queues listing in the cleanup was failing
because the Project-ID header was missing.
This change adds the required header.

Change-Id: Ic12fe76206ea1fd6b7d59d48c69389abff564d7b
This commit is contained in:
Victoria Martínez de la Cruz 2014-11-14 19:19:08 -03:00
parent 8003bf8c0f
commit 3505b112a6
2 changed files with 2 additions and 0 deletions

View File

@ -274,6 +274,7 @@ class Clients(object):
'os_username': self.endpoint.username,
'os_password': self.endpoint.password,
'os_project_name': self.endpoint.tenant_name,
'os_project_id': kc.auth_tenant_id,
'os_auth_url': self.endpoint.auth_url,
'insecure': CONF.https_insecure,
}}}

View File

@ -239,6 +239,7 @@ class OSClientsTestCase(test.TestCase):
'os_username': self.endpoint.username,
'os_password': self.endpoint.password,
'os_project_name': self.endpoint.tenant_name,
'os_project_id': self.fake_keystone.auth_tenant_id,
'os_auth_url': self.endpoint.auth_url,
'insecure': cfg.CONF.https_insecure,
}}}