From bfab8f46862e3915bb85e7616f50a508daf5703c Mon Sep 17 00:00:00 2001 From: SAVELIY BAKTURIN <96750568+zavierwaffle@users.noreply.github.com> Date: Thu, 9 Apr 2026 08:57:44 +0000 Subject: [PATCH] * Fixed category to 1.0, when all tests are skipped. --- testsuites/suite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuites/suite.py b/testsuites/suite.py index db233cb..8f0b9c3 100644 --- a/testsuites/suite.py +++ b/testsuites/suite.py @@ -443,7 +443,7 @@ class Result: total = self.__get_total_by_category(category) passed = self.__get_passed_by_category(category) if total == 0: - return Decimal(0.0) + return Decimal(1.0) return Decimal(passed) / Decimal(total) def __calculate_total(self, coefficients: Dict[str, float]) -> Decimal: