

def test_cannot_access_retracted_children(self):
    registration = RegistrationFactory(creator=self.user, project=self.public_project)
    retraction = RetractedRegistrationFactory(registration=registration, user=self.user)
    url = '/{}nodes/{}/children/'.format(API_BASE, registration._id)
    res = self.app.get(self, auth=self.user.auth, expect_errors=True)
    assert_equal(res.status_code, 404)

dataset/ETHPy150Open CenterForOpenScience/osf.io/api_tests/nodes/views/test_node_children_list.py TestNodeChildrenList.test_cannot_access_retracted_children/VarMisuse@63/85 `url`->`self`