Exemple #1
0
 def test_read_focmec_lst(self):
     cat = _read_focmec(self.lst_file)
     self._assert_cat_lst(cat)
Exemple #2
0
 def test_read_focmec_lst_open_file(self):
     for mode in ('rb', 'rt'):
         with open(self.lst_file, mode) as fh:
             cat = _read_focmec(fh)
         self._assert_cat_lst(cat)
Exemple #3
0
 def test_read_focmec_out(self):
     cat = _read_focmec(self.out_file)
     self._assert_cat_out(cat)