Coverage for biobb_pmx/test/unitests/test_pmx/test_pmxatom_mapping.py: 100%

13 statements  

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

1# type: ignore 

2from biobb_common.tools import test_fixtures as fx 

3from biobb_pmx.pmxbiobb.pmxatom_mapping import pmxatom_mapping 

4 

5 

6class TestPmxatom_mapping: 

7 def setup_class(self): 

8 fx.test_setup(self, 'pmxatom_mapping') 

9 

10 def teardown_class(self): 

11 fx.test_teardown(self) 

12 

13 def test_pmxatom_mapping(self): 

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

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

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

17 assert fx.equal(self.paths['output_pairs1_path'], self.paths['ref_output_pairs1_path']) 

18 assert fx.equal(self.paths['output_pairs2_path'], self.paths['ref_output_pairs2_path'])