Coverage for biobb_template/test/unitests/test_template/test_template.py: 100%

13 statements  

« prev     ^ index     » next       coverage.py v7.3.2, created at 2023-11-30 16:51 +0000

1from biobb_common.tools import test_fixtures as fx 

2from biobb_template.template.template import template 

3 

4 

5class TestTemplate(): 

6 def setup_class(self): 

7 fx.test_setup(self, 'template') 

8 

9 def teardown_class(self): 

10 fx.test_teardown(self) 

11 pass 

12 

13 def test_template(self): 

14 returncode = template(properties=self.properties, **self.paths) 

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

16 assert fx.equal(self.paths['output_file_path'], self.paths['ref_output_file_path']) 

17 assert fx.exe_success(returncode)