Example #1
0
    def test_readGraphIntoOWL(self):
        if self.source is not None:  # don't test the abstract class
            f = self.source.testfile
            self.assertTrue(os.path.exists(f), "path does not exist for " + f)
            test_general.GeneralGraphTestCase().readGraphIntoOWL(f)

        return
Example #2
0
    def test_readGraph(self):
        if self.source is not None:  # don't test the abstract class
            f = self.source.testfile
            self.assertTrue(os.path.exists(f),
                            "path does not exist for {0}".format(f))
            test_general.GeneralGraphTestCase().readGraphFromTurtleFile(f)

        return