Beispiel #1
0
 def test_exit_status(self):
     """Sfffile should raise ApplicationError if exit status is nonzero."""
     a = Sfffile()
     self.assertRaises(ApplicationError, a,
                       'an_sff_file_that_does_not_exist.sff')
Beispiel #2
0
 def test_call(self):
     """Simple sfffile call should produce expected output."""
     a = Sfffile()
     app_results = a(self.sff_fp)
     self._check_unmodified_sff_contents(app_results['sff'])
     app_results.cleanUp()