Merge "Cleanup projects in reverse order"
diff --git a/tempest/api/identity/base.py b/tempest/api/identity/base.py
index e6a22b0..9187e23 100644
--- a/tempest/api/identity/base.py
+++ b/tempest/api/identity/base.py
@@ -240,7 +240,7 @@
self._try_wrapper(self.users_client.delete_user, user)
for tenant in self.tenants:
self._try_wrapper(self.projects_client.delete_tenant, tenant)
- for project in self.projects:
+ for project in reversed(self.projects):
self._try_wrapper(self.projects_client.delete_project, project)
for role in self.roles:
self._try_wrapper(self.roles_client.delete_role, role)