refactor: import from new location

This commit is contained in:
David
2024-10-06 11:54:52 +02:00
parent 13eb3c5c14
commit bda415a83d
142 changed files with 423 additions and 384 deletions

View File

@@ -2,12 +2,12 @@
import frappe
from frappe.desk.form.load import getdoc
from frappe.tests.utils import FrappeTestCase, change_settings
from frappe.tests import IntegrationTestCase
from frappe.www.printview import get_html_and_style
class TestFormLoads(FrappeTestCase):
@change_settings("Print Settings", {"allow_print_for_cancelled": 1})
class TestFormLoads(IntegrationTestCase):
@IntegrationTestCase.change_settings("Print Settings", {"allow_print_for_cancelled": 1})
def test_load(self):
erpnext_modules = frappe.get_all("Module Def", filters={"app_name": "erpnext"}, pluck="name")
doctypes = frappe.get_all(