Skip to content

Commit 8cf1ea7

Browse files
authored
Merge pull request #59 from redhat-performance/allow_zero_as_error
Change "greater than" to "greater than or equal to" in results validation to handle problem subtests
2 parents 374ccc3 + db6fea9 commit 8cf1ea7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

passmark/results_schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ class testname(Enum):
3333

3434
class Passmark_Results(pydantic.BaseModel):
3535
Testname: testname
36-
Operations: float = pydantic.Field(gt=0, allow_inf_nan=False)
36+
Operations: float = pydantic.Field(ge=0, allow_inf_nan=False)
3737
Start_Date: datetime.datetime
3838
End_Date: datetime.datetime

0 commit comments

Comments
 (0)