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

12 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.pmxanalyse import pmxanalyse 

4 

5 

6class TestPmxanalyse: 

7 def setup_class(self): 

8 fx.test_setup(self, 'pmxanalyse') 

9 

10 def teardown_class(self): 

11 # pass 

12 fx.test_teardown(self) 

13 

14 # @pytest.mark.skip(reason="Should add all the matplotlib functions") 

15 def test_pmxanalyse(self): 

16 pmxanalyse(properties=self.properties, **self.paths) 

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

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

19 assert fx.equal(self.paths['output_work_plot_path'], self.paths['ref_output_work_plot_path'])