mirror of
https://github.com/frappe/erpnext.git
synced 2025-12-03 18:35:36 +00:00
chore: resolve linter issue
This commit is contained in:
@@ -209,9 +209,7 @@ class TestSalesOrder(AccountsTestMixin, FrappeTestCase):
|
||||
si1 = make_sales_invoice(so.name)
|
||||
self.assertEqual(len(si1.get("items")), 0)
|
||||
|
||||
@change_settings(
|
||||
"Accounts Settings", {"automatically_fetch_payment_terms": 1}
|
||||
) # Enable auto fetch
|
||||
@change_settings("Accounts Settings", {"automatically_fetch_payment_terms": 1}) # Enable auto fetch
|
||||
def test_auto_fetch_terms_enable(self):
|
||||
so = make_sales_order(do_not_submit=True)
|
||||
|
||||
@@ -225,9 +223,7 @@ class TestSalesOrder(AccountsTestMixin, FrappeTestCase):
|
||||
si.insert()
|
||||
si.submit()
|
||||
|
||||
@change_settings(
|
||||
"Accounts Settings", {"automatically_fetch_payment_terms": 0}
|
||||
) # Disable auto fetch
|
||||
@change_settings("Accounts Settings", {"automatically_fetch_payment_terms": 0}) # Disable auto fetch
|
||||
def test_auto_fetch_terms_disable(self):
|
||||
so = make_sales_order(do_not_submit=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user