示例#1
0
 def test_clustal_sniffer_invalid_files(self):
     for invalid_out in self.invalid_clustal_out:
         self.assertEqual(_clustal_sniffer(invalid_out), (False, {}))
示例#2
0
 def test_clustal_sniffer_valid_files(self):
     for valid_out in self.valid_clustal_out:
         self.assertEqual(_clustal_sniffer(valid_out), (True, {}))
示例#3
0
 def test_clustal_sniffer_invalid_files(self):
     for invalid_out in self.invalid_clustal_out:
         self.assertEqual(_clustal_sniffer(invalid_out), (False, {}))
     # sniffer should return False on empty file (which isn't contained
     # in self.invalid_clustal_out since an empty file is a valid output)
     self.assertEqual(_clustal_sniffer(StringIO()), (False, {}))
示例#4
0
 def test_clustal_sniffer_invalid_files(self):
     for invalid_out in self.invalid_clustal_out:
         self.assertEqual(_clustal_sniffer(invalid_out), (False, {}))
     # sniffer should return False on empty file (which isn't contained
     # in self.invalid_clustal_out since an empty file is a valid output)
     self.assertEqual(_clustal_sniffer(StringIO()), (False, {}))
示例#5
0
 def test_clustal_sniffer_valid_files(self):
     for valid_out in self.valid_clustal_out:
         self.assertEqual(_clustal_sniffer(valid_out), (True, {}))