Ignore:
Timestamp:
26/02/08 23:27:18 (12 years ago)
Author:
astephen
Message:

Added comparison to unit tests and set annotation=False in na_file.py write method.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nappy/trunk/nappy/unit_tests/test_na_file_2110.py

    r3524 r3529  
    1717 
    1818import nappy 
     19import nappy.utils.compare_na 
    1920 
    2021class NAFile2110_TestCase(unittest.TestCase): 
     
    4445        self.failUnless(isinstance(fobj, nappy.na_file.na_file.NAFile)) 
    4546  
     47    def test_compareFiles2110(self): 
     48        "Tests comparison of written and original files for equivalence." 
     49        res = nappy.utils.compare_na.compNAFiles(self.infile, self.outfile) 
     50        self.assertEqual(res, True) 
     51         
    4652 
    4753if __name__ ==  "__main__": 
Note: See TracChangeset for help on using the changeset viewer.