

def testAutomaticLinkIsNotWrappedDefault(self):
    target = self.make_target('first')
    self.builder.embed('item', target)
    doc = Document.from_object(self.builder.as_object(), base_uri='http://localhost')
    self.assertIsInstance(target.builder.as_object()['_links']['item'], dict)

dataset/ETHPy150Open wharris/dougrain/test/test_builder.py EmbedBuilderTests.testAutomaticLinkIsNotWrappedDefault/VarMisuse@53/75 `self`->`target`