def setUp(self): """all tests should return self.done""" logging.basicConfig(level=logging.INFO) try: os.remove("new.nt") except OSError: pass self.graph = Graph2(shared.localGraph(), initNs={'exp': EXP}) self.sync = SyncImport(self.graph, pollSeconds=.5) self.stmt1 = (EXP['dp'], EXP['name'], Literal("Drew")) self.done = defer.Deferred()
def setUp(self): """all tests should return self.done""" logging.basicConfig(level=logging.INFO) try: os.remove("new.nt") except OSError: pass self.graph = Graph2(shared.localGraph(), initNs={'exp' : EXP}) self.sync = SyncImport(self.graph, pollSeconds=.5) self.stmt1 = (EXP['dp'], EXP['name'], Literal("Drew")) self.done = defer.Deferred()
def setUp(self): self.graph = Graph2(shared.localGraph(), initNs={'exp': EXP, '': EXP})
def setUp(self): self.graph = Graph2(shared.localGraph(), initNs={'exp' : EXP, '' : EXP})
def setUp(self): localGraph = Graph2(shared.localGraph(), initNs={'exp': EXP, '': EXP}) self.listen = reactor.listenTCP( 9991, twisted.web.server.Site(SPARQLResource(localGraph))) self.graph = RemoteGraph(serverUrl="http://localhost:9991/", resultFormat='xml')
def setUp(self): localGraph = Graph2(shared.localGraph(), initNs={'exp': EXP, '': EXP}) self.graph = RemoteGraph(graph=localGraph)
def setUp(self): localGraph = Graph2(shared.localGraph(), initNs={'exp' : EXP, '' : EXP}) self.listen = reactor.listenTCP(9991, twisted.web.server.Site(SPARQLResource(localGraph))) self.graph = RemoteGraph(serverUrl="http://localhost:9991/", resultFormat='xml')
def setUp(self): localGraph = Graph2(shared.localGraph(), initNs={'exp' : EXP, '' : EXP}) self.graph = RemoteGraph(graph=localGraph)