@patch('pybuilder.plugins.python.test_plugin_helper.render_report', return_value='rendered-report')
def test_should_write_report(self, render_report):
    self.reports_processor.write_report_and_ensure_all_tests_passed()
    self.reports_processor.project.write_report.assert_called_with('integrationtest.json', 'rendered-report')
@patch('pybuilder.plugins.python.test_plugin_helper.render_report', return_value='rendered-report')
def test_should_write_report(self, render_report):
    self.reports_processor.write_report_and_ensure_all_tests_passed()
    self.reports_processor.project.write_report.assert_called_with('integrationtest.json', 'rendered-report')