

def testChainAfterAddCurie(self):
    obj = Builder('/item/1').add_curie('rel', '/rels/{rel}').set_property('chained', True).as_object()
    doc = Document.from_object(obj, base_uri='http://localhost/')
    self.assertTrue(obj.properties['chained'])

dataset/ETHPy150Open wharris/dougrain/test/test_builder.py ChainingBuilderTests.testChainAfterAddCurie/VarMisuse@52/83 `doc`->`obj`