Coverage for biobb_analysis/test/unitests/test_ambertools/test_cpptraj_average.py: 100%

12 statements  

« prev     ^ index     » next       coverage.py v7.6.4, created at 2024-11-14 14:38 +0000

1# type: ignore 

2from biobb_common.tools import test_fixtures as fx 

3from biobb_analysis.ambertools.cpptraj_average import cpptraj_average 

4 

5 

6class TestCpptrajAverage(): 

7 def setup_class(self): 

8 fx.test_setup(self, 'cpptraj_average') 

9 

10 def teardown_class(self): 

11 fx.test_teardown(self) 

12 pass 

13 

14 def test_average(self): 

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

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

17 assert fx.equal(self.paths['output_cpptraj_path'], self.paths['ref_output_cpptraj_path'])