test(refactor): use FrappeTestCase

This commit is contained in:
Ankush Menat
2022-02-28 16:55:46 +05:30
committed by Ankush Menat
parent 1d1203d5ec
commit b0d1e6db54
45 changed files with 94 additions and 171 deletions

View File

@@ -5,6 +5,7 @@
import unittest
import frappe
from frappe.tests.utils import change_settings
from frappe.utils import add_months, nowdate
from erpnext.accounts.doctype.tax_rule.tax_rule import ConflictingTaxRule
@@ -15,7 +16,7 @@ from erpnext.e_commerce.shopping_cart.cart import (
get_party,
update_cart,
)
from erpnext.tests.utils import change_settings, create_test_contact_and_address
from erpnext.tests.utils import create_test_contact_and_address
# test_dependencies = ['Payment Terms Template']