Ejemplo n.º 1
0
 def test_gap_check_traversal(self):
     folder_input = os.path.abspath(os.curdir)
     output_gap_lst = "gap_report.txt"
     try:
         dsh.gap_check_traversal(folder_input, output_gap_lst)
     except dsh.idSequenceUnKnow:
         print "ok , exception raisen"
     else:
         self.fail("nope , no exception when there should have some ")
Ejemplo n.º 2
0
 def test_gap_traversal2(self):
     folder_input = os.path.abspath(os.curdir)
     output_gap_lst = "gap_report.txt"
     jobids = ["tmp"]
     dsh.gap_check_traversal(input_folder=folder_input, output_file=output_gap_lst,jobids=jobids)
     self.assertTrue(os.path.exists(output_gap_lst))