Coverage for biobb_dna/test/unitests/test_dna/test_bimodality.py: 94%
16 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_bimodality import dna_bimodality
4import platform
7class TestBimodality():
8 def setup_class(self):
9 fx.test_setup(self, 'dna_bimodality')
11 def teardown_class(self):
12 fx.test_teardown(self)
13 pass
15 def test_helparbimodality(self):
16 returncode = dna_bimodality(properties=self.properties, **self.paths)
17 assert fx.not_empty(self.paths['output_csv_path'])
18 assert fx.not_empty(self.paths['output_jpg_path'])
19 assert fx.exe_success(returncode)
20 if platform.system() == 'Darwin':
21 assert fx.equal(self.paths['output_csv_path'], self.paths['ref_csv_output'])