Coverage for biobb_structure_utils/test/unitests/test_utils/test_extract_chain.py: 100%

12 statements  

« prev     ^ index     » next       coverage.py v7.5.3, created at 2024-06-14 19:03 +0000

1from biobb_common.tools import test_fixtures as fx 

2from biobb_structure_utils.utils.extract_chain import extract_chain 

3 

4 

5class TestExtractChain(): 

6 def setup_class(self): 

7 fx.test_setup(self, 'extract_chain') 

8 

9 def teardown_class(self): 

10 fx.test_teardown(self) 

11 pass 

12 

13 def test_launch(self): 

14 extract_chain(properties=self.properties, **self.paths) 

15 assert fx.not_empty(self.paths['output_structure_path']) 

16 assert fx.equal(self.paths['output_structure_path'], self.paths['reference_output_structure_path'])