Coverage for biobb_dna/test/unitests/test_backbone/test_bipopulations.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
2import platform
4from biobb_common.tools import test_fixtures as fx
6from biobb_dna.backbone.bipopulations import bipopulations
9class TestBIPopulations:
10 def setup_class(self):
11 fx.test_setup(self, "bipopulations")
13 def teardown_class(self):
14 pass
16 # fx.test_teardown(self)
18 def test_bipopulations(self):
19 returncode = bipopulations(properties=self.properties, **self.paths)
20 assert fx.not_empty(self.paths["output_csv_path"])
21 assert fx.not_empty(self.paths["output_jpg_path"])
22 assert fx.exe_success(returncode)
23 if platform.system() == "Darwin":
24 assert fx.equal(self.paths["output_csv_path"], self.paths["ref_csv_output"])
25 assert fx.equal(self.paths["output_jpg_path"], self.paths["ref_jpg_output"])