Coverage for biobb_flexserv/test/unitests/test_flexserv/test_bd_run.py: 100%

13 statements  

« prev     ^ index     » next       coverage.py v7.9.1, created at 2025-06-19 15:08 +0000

1# type: ignore 

2from biobb_common.tools import test_fixtures as fx 

3from biobb_flexserv.flexserv.bd_run import bd_run 

4 

5 

6class TestBDRun(): 

7 def setup_class(self): 

8 fx.test_setup(self, 'bd_run') 

9 

10 def teardown_class(self): 

11 fx.test_teardown(self) 

12 # pass 

13 

14 def test_bd_run(self): 

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

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

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

18 assert fx.equal(self.paths['output_crd_path'], self.paths['ref_output_crd_path']) 

19 assert fx.equal(self.paths['output_log_path'], self.paths['ref_output_log_path'])