'Try delete a large project with cascade true.
Tree we will create::
+-p1-+
p5    p2
p6  +-p3-+
p7   p4'

def test_delete_large_project_cascade(self):

    projects_hierarchy = self._create_projects_hierarchy(hierarchy_size=4)
    p1 = projects_hierarchy[0]
    self._create_projects_hierarchy(hierarchy_size=2, parent_project_id=p1['id'])
    p3_id = projects_hierarchy[2]['id']
    self._create_projects_hierarchy(hierarchy_size=1, parent_project_id=p3_id)
    prjs_hierarchy = ([p1] + self.resource_api.list_projects_in_subtree(p1['id']))[::(-1)]
    for project in prjs_hierarchy:
        project['enabled'] = False
        self.resource_api.update_project(project['id'], project)
    self.resource_api.delete_project(p1['id'], cascade=True)
    for project in prjs_hierarchy:
        self.assertRaises(exception.ProjectNotFound, self.resource_api.get_project, project['id'])
