'``GET /projects/{project_id}?subtree_as_list`` with full access.
Test plan:
- Create \'parent\', \'project\' and \'subproject\' projects;
- Assign a user a role on each one of those projects;
- Check that calling subtree_as_list on \'parent\' returns both \'parent\'
and \'subproject\'.'

def test_get_project_with_subtree_as_list_with_full_access(self):

    (parent, project, subproject) = self._create_projects_hierarchy(2)
    for proj in (parent, project, subproject):
        self.put(self.build_role_assignment_link(role_id=self.role_id, user_id=self.user_id, project_id=proj['project']['id']))
    r = self.get(('/projects/%(project_id)s?subtree_as_list' % {'project_id': parent['project']['id']}))
    self.assertValidProjectResponse(r, parent['project'])
    self.assertIn(project, r.result['project']['subtree'])
    self.assertIn(subproject, r.result['project']['subtree'])
    self.assertEqual(2, len(r.result['project']['subtree']))
