Skip to content

Commit

Permalink
test: partial match of error message
Browse files Browse the repository at this point in the history
  • Loading branch information
vorasmit committed Dec 6, 2024
1 parent 8f01a4a commit 5f16ec2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def test_standalone_stock_entry(self):

self.assertRaisesRegex(
frappe.ValidationError,
re.compile(r"(.*GST Category is a mandatory field for GST Transactions.*)"),
re.compile(r"(.*is a mandatory field for GST Transactions.*)"),
se.save,
)

Expand Down

0 comments on commit 5f16ec2

Please sign in to comment.