#!/usr/bin/python import fluxor2.reader, sets, unittest class ReactionMatcherTestCase( unittest.TestCase ): def setUp( self ): self.rm = fluxor2.debug.ReactionMatcher() def testFillEmpty( self ): rxn = {'a':'b','c':'d'} headers = ['a','b','c','d'] rxn2 = rm.fill_empty( rxn, headers ) for h in headers: self.assertTrue( rxn2.has_key( h ) ) def testFilterFile( self ): superclass_file = 'test-superclass.txt' def testUnmappedWithoutGenesP( self ): pass def testUnmatchedGenesToLisp( self ): pass def testPrintCommentAndRxnsOfGene( self ): pass def testPrintUnmappedRxnsWithGenesComments( self ): pass def testGetHeaderTemplate( self ): pass def testPrintUnmappedRxnsWithoutCpdMappings( self ): pass def testMatchRxnsByGene( self ): pass def testPrintComplementFile( self ): pass def testMakeEcocycUcsdMap( self ): pass def testParseEqn( self ): pass if __name__ == '__main__': unittest.main()