

def test_creates_child_logged_in_non_contributor(self):
    res = self.app.post_json_api(self.url, self.child, auth=res.user_two.auth, expect_errors=True)
    assert_equal(res.status_code, 403)
    self.project.reload()
    assert_equal(len(self.project.nodes), 0)

dataset/ETHPy150Open CenterForOpenScience/osf.io/api_tests/nodes/views/test_node_children_list.py TestNodeChildCreate.test_creates_child_logged_in_non_contributor/VarMisuse@28/39 `self`->`res`