Coverage for biobb_model/test/unitests/test_model/test_fix_ssbonds.py: 100%

11 statements  

« prev     ^ index     » next       coverage.py v7.4.3, created at 2024-03-13 17:26 +0000

1from biobb_common.tools import test_fixtures as fx 

2from biobb_model.model.fix_ssbonds import fix_ssbonds 

3 

4 

5class TestFixSSBonds: 

6 def setup_class(self): 

7 fx.test_setup(self, 'fix_ssbonds') 

8 

9 def teardown_class(self): 

10 fx.test_teardown(self) 

11 

12 def test_launch(self): 

13 fix_ssbonds(properties=self.properties, **self.paths) 

14 assert fx.not_empty(self.paths['output_pdb_path']) 

15 assert fx.equal(self.paths['output_pdb_path'], self.paths['reference_output_pdb_path'])