Coverage for biobb_pdb_tools/test/unitests/test_pdb_tools/test_pdb_mkensemble.py: 100%

13 statements  

« prev     ^ index     » next       coverage.py v7.8.0, created at 2025-05-06 12:37 +0000

1# type: ignore 

2from biobb_common.tools import test_fixtures as fx 

3from biobb_pdb_tools.pdb_tools.biobb_pdb_mkensemble import biobb_pdb_mkensemble 

4 

5 

6class TestPdbMkensemble(): 

7 def setup_class(self): 

8 fx.test_setup(self, 'biobb_pdb_mkensemble') 

9 

10 def teardown_class(self): 

11 fx.test_teardown(self) 

12 pass 

13 

14 def test_mkensemble(self): 

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

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

17 assert fx.equal(self.paths['output_file_path'], self.paths['ref_output_file_path']) 

18 assert fx.exe_success(returncode)