Coverage for biobb_haddock/test/unitests/test_haddock_restraints/test_haddock3_accessibility.py: 100%

12 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_restraints.haddock3_accessibility import haddock3_accessibility 

4 

5 

6class TestHaddockAccessibility(): 

7 def setup_class(self): 

8 fx.test_setup(self, 'haddock3_accessibility') 

9 

10 def teardown_class(self): 

11 pass 

12 # fx.test_teardown(self) 

13 

14 def test_capri_eval(self): 

15 haddock3_accessibility(properties=self.properties, **self.paths) 

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

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

18 # equal is comparing log timestamps 

19 # assert fx.equal(self.paths['output_accessibility_path'], self.paths['ref_output_accessibility_path']) 

20 assert fx.equal(self.paths['output_actpass_path'], self.paths['ref_output_actpass_path'])