Skip to content

Commit

Permalink
Capitalize error message
Browse files Browse the repository at this point in the history
Co-authored-by: Nadzeya H <[email protected]>
  • Loading branch information
omar-selo and nadzyah committed Aug 30, 2024
1 parent 8ce21b3 commit 040ae8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/test_observer/controllers/test_cases/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class ReportedIssueRequest(BaseModel):
@model_validator(mode="after")
def check_a_or_b(self):
if not self.case_name and not self.template_id:
raise ValueError("either case_name or template_id is required")
raise ValueError("Either case_name or template_id is required")
return self


Expand Down

0 comments on commit 040ae8b

Please sign in to comment.