Coverage for biobb_dna/test/unitests/test_dna/test_timeseries.py: 94%
17 statements
« prev ^ index » next coverage.py v7.6.10, created at 2025-01-28 10:36 +0000
« prev ^ index » next coverage.py v7.6.10, created at 2025-01-28 10:36 +0000
1# type: ignore
2from biobb_common.tools import test_fixtures as fx
3from biobb_dna.dna.dna_timeseries import dna_timeseries
4import platform
6import logging
7mpl_logger = logging.getLogger("matplotlib")
8mpl_logger.setLevel(logging.ERROR)
11class TestTimeSeries():
12 def setup_class(self):
13 fx.test_setup(self, 'dna_timeseries')
15 def teardown_class(self):
16 fx.test_teardown(self)
18 def test_helpartimeseries(self):
19 returncode = dna_timeseries(properties=self.properties, **self.paths)
20 assert fx.not_empty(self.paths['output_zip_path'])
21 assert fx.exe_success(returncode)
22 if platform.system() == 'Darwin':
23 assert fx.equal(self.paths['output_zip_path'], self.paths['ref_output_zip_path'])