chore(tests): remove noop ad-hoc record creation

This commit is contained in:
David
2024-10-16 13:26:23 +02:00
parent a671fe13d4
commit ac5e449592
9 changed files with 6 additions and 35 deletions

View File

@@ -5,15 +5,15 @@ import frappe
import frappe.utils
from frappe.model import mapper
from frappe.tests import IntegrationTestCase
from frappe.tests.utils import make_test_records
from frappe.utils import add_months, nowdate
EXTRA_TEST_RECORD_DEPENDENCIES = ["Item"]
class TestMapper(IntegrationTestCase):
def test_map_docs(self):
"""Test mapping of multiple source docs on a single target doc"""
make_test_records("Item")
items = ["_Test Item", "_Test Item 2", "_Test FG Item"]
# Make source docs (quotations) and a target doc (sales order)