Coverage for biobb_dna/test/unitests/test_backbone/test_canonical_alpha_gamma.py: 100%

13 statements  

« 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.backbone.canonicalag import canonicalag 

4 

5 

6class TestCanonicalAlphaGamma(): 

7 def setup_class(self): 

8 fx.test_setup(self, 'canonicalag') 

9 

10 def teardown_class(self): 

11 fx.test_teardown(self) 

12 

13 def test_canonicalag(self): 

14 returncode = canonicalag(properties=self.properties, **self.paths) 

15 assert fx.not_empty(self.paths['output_csv_path']) 

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

17 assert fx.exe_success(returncode) 

18 assert fx.equal(self.paths['output_jpg_path'], self.paths['ref_jpg_output'])