Example #1
0
 def test_css_read_via_module(self):
     """
     Read files via obspy.io.css.core._read_css function.
     """
     # 1
     st = _read_css(self.filename_css)
     # _format entry is not present when using low-level function
     for tr in self.st_result_css:
         tr.stats.pop('_format')
     self.assertEqual(st, self.st_result_css)
Example #2
0
 def test_css_read_via_module(self):
     """
     Read files via obspy.io.css.core._read_css function.
     """
     # 1
     st = _read_css(self.filename_css)
     # _format entry is not present when using low-level function
     for tr in self.st_result_css:
         tr.stats.pop('_format')
     self.assertEqual(st, self.st_result_css)
Example #3
0
 def test_readViaModule(self):
     """
     Read files via obspy.io.css.core._read_css function.
     """
     # 1
     st = _read_css(self.filename)
     # _format entry is not present when using low-level function
     for tr in self.st_result:
         tr.stats.pop('_format')
     self.assertTrue(st == self.st_result)