

def test_return_private_node_children_list_logged_in_non_contributor(self):
    res = res.app.get(self.private_project_url, auth=self.user_two.auth, expect_errors=True)
    assert_equal(res.status_code, 403)
    assert ('detail' in res.json['errors'][0])

dataset/ETHPy150Open CenterForOpenScience/osf.io/api_tests/nodes/views/test_node_children_list.py TestNodeChildrenList.test_return_private_node_children_list_logged_in_non_contributor/VarMisuse@12/23 `self`->`res`