Esempio n. 1
0
    def setUp(self):
        self.config = Config("local_test_config.ini",
                             default_manager=ISQLWrapperTestManager())

        url = "http://%s:%s%s"
        url %= (self.config.host, self.config.endpoint_port,
                self.config.endpoint_path)

        self.endpoint = Endpoint(url)
        self.isql = ISQLWrapper(self.config.host, self.config.user,
                                self.config.password)
        self.isql.execute_cmd("SPARQL CLEAR GRAPH <%s>" % self.config.graph)
Esempio n. 2
0
 def setUp(self):
     self.config = Config("local_test_config.ini",
                          default_manager=ISQLWrapperTestManager())