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

12 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.extract_molecule import extract_molecule 

4 

5 

6class TestExtractMolecule(): 

7 def setup_class(self): 

8 fx.test_setup(self, 'extract_molecule') 

9 

10 def teardown_class(self): 

11 fx.test_teardown(self) 

12 pass 

13 

14 def test_launch(self): 

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

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

17 assert fx.equal(self.paths['output_molecule_path'], self.paths['reference_output_molecule_path'])