mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-14 18:51:21 +00:00
refactor(test): pos invoice tests are almost deterministic
This commit is contained in:
@@ -145,13 +145,6 @@ class ERPNextTestSuite(unittest.TestCase):
|
||||
records = load_test_records_for(doctype)
|
||||
cls.globalTestRecords[doctype] = records[doctype]
|
||||
|
||||
@classmethod
|
||||
def truncate_make_item_price(cls, record):
|
||||
frappe.db.truncate("Item Price")
|
||||
item_price = frappe.get_doc(record)
|
||||
item_price.insert()
|
||||
return item_price
|
||||
|
||||
@classmethod
|
||||
def make_presets(cls):
|
||||
from frappe.desk.page.setup_wizard.install_fixtures import update_genders, update_salutations
|
||||
|
||||
Reference in New Issue
Block a user