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

12 statements  

« 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.extract_atoms import extract_atoms 

3 

4 

5class TestExtractAtomsGRO(): 

6 def setup_class(self): 

7 fx.test_setup(self, 'extract_atoms_gro') 

8 

9 def teardown_class(self): 

10 fx.test_teardown(self) 

11 pass 

12 

13 def test_launch(self): 

14 extract_atoms(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'])