def testDraft5CuriesAreLinksInDraft43Documents(self):
        modern_doc = dougrain.Document.empty("http://localhost/0",
                                             draft=dougrain.drafts.DRAFT_5)
        modern_doc.set_curie('rel', '/rel/{rel}')
        doc = dougrain.Document.from_object(modern_doc.as_object(),
                                            base_uri="http://localhost/0",
                                            draft=dougrain.drafts.DRAFT_3)
        self.assertTrue('curies' in doc.links)
        self.assertFalse('curie' in doc.links)
dataset/ETHPy150Open wharris/dougrain/test/test_document.py/CurieHidingTests.testDraft5CuriesAreLinksInDraft43Documents/original