

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

dataset/ETHPy150Open wharris/dougrain/test/test_builder.py EmbedBuilderTests.testAutomaticLinkIsWrappedWithWrappedEmbed/VarMisuse@12/23 `self`->`doc`