Coverage for biobb_structure_utils/test/unitests/test_utils/test_renumber_structure_gro.py: 100%
14 statements
« prev ^ index » next coverage.py v7.5.3, created at 2024-06-14 19:03 +0000
« prev ^ index » next coverage.py v7.5.3, created at 2024-06-14 19:03 +0000
1from biobb_common.tools import test_fixtures as fx
2from biobb_structure_utils.utils.renumber_structure import renumber_structure
5class TestRenumberStructureGRO():
6 def setup_class(self):
7 fx.test_setup(self, 'renumber_structure_gro')
9 def teardown_class(self):
10 fx.test_teardown(self)
11 pass
13 def test_launch(self):
14 renumber_structure(properties=self.properties, **self.paths)
15 assert fx.not_empty(self.paths['output_structure_path'])
16 assert fx.equal(self.paths['output_structure_path'], self.paths['reference_output_stucture_path'])
17 assert fx.not_empty(self.paths['output_mapping_json_path'])
18 assert fx.equal(self.paths['output_mapping_json_path'], self.paths['reference_output_mapping_json_path'])