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

11 statements  

« prev     ^ index     » next       coverage.py v7.6.10, created at 2025-01-28 11:54 +0000

1# type: ignore 

2from biobb_common.tools import test_fixtures as fx 

3from biobb_structure_utils.utils.extract_model import extract_model 

4 

5 

6class TestExtractModel(): 

7 def setup_class(self): 

8 fx.test_setup(self, 'extract_model') 

9 

10 def teardown_class(self): 

11 # fx.test_teardown(self) 

12 pass 

13 

14 def test_launch(self): 

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

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

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