Coverage for biobb_dna/test/unitests/test_curvesplus/test_curves.py: 100%
16 statements
« prev ^ index » next coverage.py v7.14.1, created at 2026-05-28 06:38 +0000
« prev ^ index » next coverage.py v7.14.1, created at 2026-05-28 06:38 +0000
1# type: ignore
2from biobb_common.tools import test_fixtures as fx
3from biobb_dna.curvesplus.biobb_curves import biobb_curves
6class TestCurves():
7 def setup_class(self):
8 fx.test_setup(self, 'biobb_curves')
10 def teardown_class(self):
11 fx.test_teardown(self)
13 def test_curves(self):
14 returncode = biobb_curves(
15 properties=self.properties, **self.paths)
16 assert fx.not_empty(self.paths['output_cda_path'])
17 assert fx.not_empty(self.paths['output_lis_path'])
18 assert fx.not_empty(self.paths['output_zip_path'])
19 assert fx.exe_success(returncode)
20 assert fx.equal(self.paths['output_cda_path'], self.paths['ref_cda_output'])
21 assert fx.compare_line_by_line(self.paths['output_lis_path'], self.paths['ref_lis_output'], [2])
22 assert fx.equal(self.paths['output_zip_path'], self.paths['ref_zip_output'])