

def test_return_private_node_children_list_logged_in_contributor(self):
    res = self.app.get(self.private_project_url, auth=self.user.auth)
    assert_equal(res.status_code, 200)
    assert_equal(res.content_type, 'application/vnd.api+json')
    assert_equal(len(self.json['data']), 1)
    assert_equal(res.json['data'][0]['id'], self.component._id)

dataset/ETHPy150Open CenterForOpenScience/osf.io/api_tests/nodes/views/test_node_children_list.py TestNodeChildrenList.test_return_private_node_children_list_logged_in_contributor/VarMisuse@53/78 `res`->`self`