Coverage for biobb_dna/test/unitests/test_curvesplus/test_canion.py: 93%
14 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.curvesplus.biobb_canion import biobb_canion
4import platform
7class TestCanal():
8 def setup_class(self):
9 fx.test_setup(self, 'biobb_canion')
11 def teardown_class(self):
12 fx.test_teardown(self)
14 def test_canion(self):
15 returncode = biobb_canion(
16 properties=self.properties, **self.paths)
17 assert fx.not_empty(self.paths['output_zip_path'])
18 assert fx.exe_success(returncode)
19 if platform.system() == 'Darwin':
20 assert fx.equal(
21 self.paths['output_zip_path'],
22 self.paths['ref_output_zip_path'])