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

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

4 

5 

6class TestSolvate(): 

7 def setup_class(self): 

8 fx.test_setup(self, 'trjcat') 

9 

10 def teardown_class(self): 

11 # pass 

12 fx.test_teardown(self) 

13 

14 def test_solvate(self): 

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

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

17 assert fx.equal(self.paths['output_trj_path'], self.paths['ref_output_trj_path']) 

18 assert fx.exe_success(returncode)