示例#1
0
 def setUp(self):
     """
     Because _process_evidence_view uses
     self.rawdir to find the evidence file,
     the defaults are overriden here to
     point to our test file
     Note the file name must match what is in
     that method - evidence_view
     """
     self.test_util = TestUtils()
     self.mgi = MGI('rdf_graph', True)
     self.mgi.rawdir = os.path.join(os.path.dirname(__file__),
                                    'resources/mgi')
     self.mgi.idhash['annot']['6901981'] = ':association'
示例#2
0
 def setUp(self):
     self.source = MGI('rdf_graph', True)
     self.source.settestonly(True)
     self._setDirToSource()
     return