| Conditions | 1 |
| Total Lines | 10 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import subprocess |
||
| 5 | def execute_coverage(report_path): |
||
| 6 | """ |
||
| 7 | Function with a side-effect to create |
||
| 8 | coverage report and prints to stdout |
||
| 9 | :param report_path: str |
||
| 10 | :return: None |
||
| 11 | """ |
||
| 12 | subprocess.call(['coverage', 'report']) |
||
| 13 | subprocess.call(['coverage', 'html']) |
||
| 14 | logger.info('Check coverage: ' + report_path) |
||
| 15 |