Coverage for biobb_pmx/test/unitests/test_pmx/test_pmxligand_hybrid.py: 100%
17 statements
« prev ^ index » next coverage.py v7.6.10, created at 2025-01-23 10:10 +0000
« 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.pmxligand_hybrid import pmxligand_hybrid
6class TestPmxligand_hybrid:
7 def setup_class(self):
8 fx.test_setup(self, 'pmxligand_hybrid')
10 def teardown_class(self):
11 fx.test_teardown(self)
13 def test_pmxligand_hybrid(self):
14 pmxligand_hybrid(properties=self.properties, **self.paths)
15 assert fx.not_empty(self.paths['output_structure1_path'])
16 assert fx.not_empty(self.paths['output_structure2_path'])
17 assert fx.not_empty(self.paths['output_topology_path'])
18 assert fx.not_empty(self.paths['output_atomtypes_path'])
19 assert fx.equal(self.paths['output_structure1_path'], self.paths['ref_output_structure1_path'])
20 assert fx.equal(self.paths['output_structure2_path'], self.paths['ref_output_structure2_path'])
21 assert fx.equal(self.paths['output_topology_path'], self.paths['ref_output_topology_path'])
22 assert fx.equal(self.paths['output_atomtypes_path'], self.paths['ref_output_atomtypes_path'])