@@ -0,0 +1,1041 @@
+#!/usr/bin/env python3%0A%0Afrom dipper import curie_map%0Afrom rdflib import Graph%0A%0Aimport unittest%0Aimport logging%0A%0Alogging.basicConfig(level=logging.DEBUG)%0Alogger = logging.getLogger(__name__)%0A%0A%0Aclass GeneralGraphTestCase(unittest.TestCase):%0A%0A    def setUp(self):%0A        self.graph = Graph()%0A        self.curie_map = curie_map.get()%0A%0A    def tearDown(self):%0A        self.graph = None%0A%0A    def test_curieprefixes(self):%0A        %22%22%22%0A        This will ensure that we can create identifiers for all of the defined curie prefixes using the%0A        GraphUtils.getNode() method%0A        :return:%0A        %22%22%22%0A        from dipper.utils.GraphUtils import GraphUtils%0A%0A        gu = GraphUtils(self.curie_map)%0A%0A        # add one id per curie as classes to the graph%0A        for p in self.curie_map.keys():%0A            testid = p+':testme'%0A            n = gu.getNode(testid)%0A            m = %22prefix %5C%22%22+p+%22%5C%22 has an error...can't create graph node%22%0A            self.assertTrue(n is not None, m)%0A%0A        return%0A%0Aif __name__ == '__main__':%0A    unittest.main()%0A

add test to ensure all curie prefixes are defined correctly. #99