def post_process(self):
        """
        Get report data, generate xml report.
        """
        super(JUnitXMLReporter, self).post_process()
        test_data_source = self.parameters.get("data-source", "sample-labels")

        if test_data_source == "sample-labels":
            if self.last_second:
                root_element = self.process_sample_labels()
                self.save_report(root_element)
            else:
                self.log.warning("No last second data to generate XUnit.xml")
        elif test_data_source == "pass-fail":
            root_element = self.process_pass_fail()
            self.save_report(root_element)
        else:
            raise ValueError(test_data_source % "Unsupported data source: %s")
dataset/ETHPy150Open Blazemeter/taurus/bzt/modules/reporting.py/JUnitXMLReporter.post_process/swapped operands of `%`