mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-18 20:49:19 +00:00
refactor(test): remove AccountsTestMixin from distributed discount
(cherry picked from commit 0b6546ea06)
This commit is contained in:
@@ -1,10 +1,9 @@
|
|||||||
from erpnext.accounts.test.accounts_mixin import AccountsTestMixin
|
|
||||||
from erpnext.controllers.taxes_and_totals import calculate_taxes_and_totals
|
from erpnext.controllers.taxes_and_totals import calculate_taxes_and_totals
|
||||||
from erpnext.selling.doctype.sales_order.test_sales_order import make_sales_order
|
from erpnext.selling.doctype.sales_order.test_sales_order import make_sales_order
|
||||||
from erpnext.tests.utils import ERPNextTestSuite
|
from erpnext.tests.utils import ERPNextTestSuite
|
||||||
|
|
||||||
|
|
||||||
class TestTaxesAndTotals(ERPNextTestSuite, AccountsTestMixin):
|
class TestTaxesAndTotals(ERPNextTestSuite):
|
||||||
@ERPNextTestSuite.change_settings("Selling Settings", {"allow_multiple_items": 1})
|
@ERPNextTestSuite.change_settings("Selling Settings", {"allow_multiple_items": 1})
|
||||||
def test_distributed_discount_amount(self):
|
def test_distributed_discount_amount(self):
|
||||||
so = make_sales_order(do_not_save=1)
|
so = make_sales_order(do_not_save=1)
|
||||||
|
|||||||
Reference in New Issue
Block a user