refactor: Use IntegrationTestCase in multiple files

Signed-off-by: David <dgx.arnold@gmail.com>
This commit is contained in:
David
2024-10-08 02:13:00 +02:00
parent cd112795d3
commit 58c49dc9d2
42 changed files with 107 additions and 81 deletions

View File

@@ -1,13 +1,14 @@
import unittest
import frappe
from frappe.tests import IntegrationTestCase
from erpnext import encode_company_abbr
test_records = frappe.get_test_records("Company")
class TestInit(unittest.TestCase):
class TestInit(IntegrationTestCase):
def test_encode_company_abbr(self):
abbr = "NFECT"