Coverage for biobb_dna/test/unitests/test_dna/test_timeseries_unzip.py: 100%

16 statements  

« 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_unzip import dna_timeseries_unzip 

4 

5 

6class TestCanalUnzip(): 

7 def setup_class(self): 

8 fx.test_setup(self, 'dna_timeseries_unzip') 

9 

10 def teardown_class(self): 

11 fx.test_teardown(self) 

12 

13 def test_dna_timeseries_unzip(self): 

14 returncode = dna_timeseries_unzip( 

15 properties=self.properties, **self.paths) 

16 assert fx.not_empty(self.paths['output_path_csv']) 

17 assert fx.not_empty(self.paths['output_path_jpg']) 

18 assert fx.not_empty(self.paths['output_list_path']) 

19 assert fx.exe_success(returncode) 

20 assert fx.equal( 

21 self.paths['output_path_csv'], 

22 self.paths['ref_output_path_csv']) 

23 assert fx.equal( 

24 self.paths['output_list_path'], 

25 self.paths['ref_output_list_path']) 

26 assert fx.equal(self.paths['output_path_jpg'], self.paths['ref_output_path_jpg'])