def testAutomaticLink(self):
        doc = self.make_doc("http://localhost/3")
        doc.embed('child', self.make_doc("http://localhost/3/1"))
        doc.delete_embedded('child')

        self.assertAutomaticLink('child' in doc.links)
dataset/ETHPy150Open wharris/dougrain/test/test_document.py/DeleteEmbeddedTestsMixin.testAutomaticLink/original