def testHasHostLinkRel(self):
        host_role = self.doc.expand_curie('role:host')
        self.assertTrue(self.doc.rels in host_role)
        self.assertEquals(["http://localhost/hosts/1"],
                          [x.url() for x in self.doc.rels[host_role]])
dataset/ETHPy150Open wharris/dougrain/test/test_document.py/RelsTestMixin.testHasHostLinkRel/swapped operands of `in`