Coverage for biobb_chemistry/test/unitests/test_acpype/test_acpype_params_cns.py: 100%

12 statements  

« prev     ^ index     » next       coverage.py v7.6.12, created at 2025-03-12 09:28 +0000

1# type: ignore 

2from biobb_common.tools import test_fixtures as fx 

3from biobb_chemistry.acpype.acpype_params_cns import acpype_params_cns 

4 

5 

6class TestAcpypeParamsCNS(): 

7 def setup_class(self): 

8 fx.test_setup(self, 'acpype_params_cns') 

9 

10 def teardown_class(self): 

11 # fx.test_teardown(self) 

12 pass 

13 

14 def test_params_cns(self): 

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

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

17 assert fx.not_empty(self.paths['output_path_inp']) 

18 # assert fx.not_empty(self.paths['output_path_top']) 

19 assert fx.equal(self.paths['output_path_inp'], self.paths['ref_output_acpype_path_inp']) 

20 # assert fx.equal(self.paths['output_path_top'], self.paths['ref_output_acpype_path_top'])