Coverage for biobb_gromacs/test/unitests/test_gromacs_extra/test_ndx2resttop.py: 100%

11 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_extra.ndx2resttop import Ndx2resttop 

4 

5 

6class TestNdx2resttop(): 

7 def setup_class(self): 

8 fx.test_setup(self, 'ndx2resttop') 

9 

10 def teardown_class(self): 

11 # pass 

12 fx.test_teardown(self) 

13 

14 def test_ndx2resttop(self): 

15 returncode = Ndx2resttop(properties=self.properties, **self.paths).launch() 

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

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

18 assert fx.exe_success(returncode)