Exemplo n.º 1
0
    def setUp(self):
        TestCase.setUp(self)
        files = [find_first_fixture(f) for f in self.kbfixtures]

        fourstore_setup(self.kbname)
        fourstore_backend(self.kbname)
        fourstore_import(self.kbname, files)
        fourstore_httpd(self.kbname, self.port)

        settings.SPARQL_ENDPOINT = "http://localhost:%d/sparql/" % self.port