'Call ``PATCH /projects/{project_id}``.'

def test_disable_leaf_project(self):

    projects = self._create_projects_hierarchy()
    leaf_project = projects[1]['project']
    leaf_project['enabled'] = False
    r = self.patch(('/projects/%(project_id)s' % {'project_id': leaf_project['id']}), body={'project': leaf_project})
    self.assertEqual(leaf_project['enabled'], r.result['project']['enabled'])
