Coverage for biobb_gromacs/test/unitests/test_gromacs/test_solvate.py: 100%

14 statements  

« prev     ^ index     » next       coverage.py v7.9.1, created at 2025-06-25 09:23 +0000

1# type: ignore 

2from biobb_common.tools import test_fixtures as fx 

3from biobb_gromacs.gromacs.solvate import solvate 

4 

5 

6class TestSolvate(): 

7 def setup_class(self): 

8 fx.test_setup(self, 'solvate') 

9 

10 def teardown_class(self): 

11 # pass 

12 fx.test_teardown(self) 

13 

14 def test_solvate(self): 

15 returncode = solvate(properties=self.properties, **self.paths) 

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

17 assert fx.equal(self.paths['output_gro_path'], self.paths['ref_output_gro_path']) 

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

19 assert fx.equal(self.paths['output_top_zip_path'], self.paths['ref_output_top_zip_path']) 

20 assert fx.exe_success(returncode)