Coverage for biobb_structure_utils/test/unitests/test_utils/test_renumber_structure_pdb.py: 100%

14 statements  

« prev     ^ index     » next       coverage.py v7.6.10, created at 2025-01-28 11:54 +0000

1# type: ignore 

2from biobb_common.tools import test_fixtures as fx 

3from biobb_structure_utils.utils.renumber_structure import renumber_structure 

4 

5 

6class TestRenumberStructurePDB(): 

7 def setup_class(self): 

8 fx.test_setup(self, 'renumber_structure') 

9 

10 def teardown_class(self): 

11 fx.test_teardown(self) 

12 pass 

13 

14 def test_launch(self): 

15 renumber_structure(properties=self.properties, **self.paths) 

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

17 assert fx.equal(self.paths['output_structure_path'], self.paths['reference_output_stucture_path']) 

18 assert fx.not_empty(self.paths['output_mapping_json_path']) 

19 assert fx.equal(self.paths['output_mapping_json_path'], self.paths['reference_output_mapping_json_path'])