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

12 statements  

« prev     ^ index     » next       coverage.py v7.6.1, created at 2024-10-03 15:30 +0000

1from biobb_common.tools import test_fixtures as fx 

2from biobb_structure_utils.utils.remove_molecules import remove_molecules 

3 

4 

5class TestRemoveMolecules: 

6 def setup_class(self): 

7 fx.test_setup(self, 'remove_molecules') 

8 

9 def teardown_class(self): 

10 fx.test_teardown(self) 

11 pass 

12 

13 def test_launch(self): 

14 remove_molecules(properties=self.properties, **self.paths) 

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

16 assert fx.equal_txt(self.paths['output_molecules_path'], self.paths['reference_output_molecules_path'])