Coverage for biobb_io/test/unitests/test_mmb_api/test_structure_info.py: 100%

12 statements  

« prev     ^ index     » next       coverage.py v7.6.9, created at 2024-12-10 15:33 +0000

1# type: ignore 

2from biobb_common.tools import test_fixtures as fx 

3from biobb_io.api.structure_info import structure_info 

4 

5 

6class TestStructureInfo(): 

7 def setup_class(self): 

8 fx.test_setup(self, 'structure_info') 

9 

10 def teardown_class(self): 

11 fx.test_teardown(self) 

12 pass 

13 

14 def test_structure_info(self): 

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

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

17 assert fx.equal(self.paths['output_json_path'], self.paths['reference_output_json_path'])