mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-17 16:45:02 +00:00
test: remove no-op flags in preparation of cleaning upstream
This commit is contained in:
@@ -62,9 +62,6 @@ class TaxRule(Document):
|
||||
use_for_shopping_cart: DF.Check
|
||||
# end: auto-generated types
|
||||
|
||||
def __setup__(self):
|
||||
self.flags.ignore_these_exceptions_in_test = [ConflictingTaxRule]
|
||||
|
||||
def validate(self):
|
||||
self.validate_tax_template()
|
||||
self.validate_from_to_dates("from_date", "to_date")
|
||||
|
||||
@@ -37,9 +37,6 @@ class ItemAttribute(Document):
|
||||
to_range: DF.Float
|
||||
# end: auto-generated types
|
||||
|
||||
def __setup__(self):
|
||||
self.flags.ignore_these_exceptions_in_test = [InvalidItemAttributeValueError]
|
||||
|
||||
def validate(self):
|
||||
frappe.flags.attribute_values = None
|
||||
self.validate_numeric()
|
||||
|
||||
Reference in New Issue
Block a user