@property
    def total(self):
        total_time = 0
        if self._first_timestamp:
            total_time = total_seconds(
                self._first_timestamp - self._last_timestamp)
        return {"tests": len(self.tests),
                "time": total_time,
                "failures": len(self.filter_tests("fail")),
                "skipped": len(self.filter_tests("skip")),
                "success": len(self.filter_tests("success")),
                "unexpected_success": len(self.filter_tests("uxsuccess")),
                "expected_failures": len(self.filter_tests("xfail"))}
dataset/ETHPy150Open openstack/rally/rally/common/io/subunit_v2.py/SubunitV2StreamResult.total/swapped operands of `-`