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

13 statements  

« prev     ^ index     » next       coverage.py v7.10.2, created at 2025-08-07 08:48 +0000

1# type: ignore 

2from biobb_common.tools import test_fixtures as fx 

3from biobb_haddock.haddock.em_ref import em_ref 

4import warnings 

5 

6 

7class TestEMRef(): 

8 def setup_class(self): 

9 fx.test_setup(self, 'em_ref') 

10 

11 def teardown_class(self): 

12 pass 

13 # fx.test_teardown(self) 

14 

15 def test_em_ref(self): 

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

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

18 assert fx.not_empty(self.paths['output_haddock_wf_data_zip']) 

19 # assert fx.equal(self.paths['refinement_output_zip_path'], self.paths['ref_refinement_output_zip_path']) 

20 warnings.warn( 

21 "The content of the output_haddock_wf_data_zip is not being checked.\n" 

22 f"Do it manually at {self.testfile_dir}")