

def make_target(self, name):
    target_uri = ('http://localhost/%s/%s/%s' % (self.__class__.__name__, self._testMethodName, name))
    target_doc = Document.empty('http://localhost')
    target_doc.add_link('self', target_uri)
    target_doc.set_property('name', name)
    return target_doc

dataset/ETHPy150Open wharris/dougrain/test/test_builder.py EmbedBuilderDocumentTests.make_target/original