Coverage for biobb_haddock/test/unitests/test_haddock/test_haddock3_run.py: 100%

12 statements  

« prev     ^ index     » next       coverage.py v7.15.2, created at 2026-07-23 08:39 +0000

1# type: ignore 

2from biobb_common.tools import test_fixtures as fx 

3from biobb_haddock.haddock.haddock3_run import haddock3_run 

4import os 

5 

6 

7class TestHaddock3Run(): 

8 def setup_class(self): 

9 fx.test_setup(self, 'haddock3_run') 

10 

11 def teardown_class(self): 

12 pass 

13 # fx.test_teardown(self) 

14 

15 def test_haddock3_run(self): 

16 haddock3_run(properties=self.properties, **self.paths) 

17 assert fx.not_empty(self.paths['output_haddock_wf_data']) 

18 assert len(os.listdir(self.paths['output_haddock_wf_data'])) > len(os.listdir(self.paths['input_haddock_wf_data'])), "The output directory should contain more files than the input directory" 

19 # assert fx.equal(self.paths['output_evaluation_zip_path'], self.paths['ref_output_evaluation_zip_path'])