refactor: Use IntegrationTestCase in multiple files

Signed-off-by: David <dgx.arnold@gmail.com>
This commit is contained in:
David
2024-10-08 01:52:47 +02:00
parent cd112795d3
commit 9024621231
21 changed files with 55 additions and 42 deletions

View File

@@ -1,9 +1,10 @@
# Copyright (c) 2019, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt
# import frappe
import unittest
from frappe.tests import IntegrationTestCase
class TestImportSupplierInvoice(unittest.TestCase):
class TestImportSupplierInvoice(IntegrationTestCase):
pass

View File

@@ -1,9 +1,10 @@
# Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt
# import frappe
import unittest
from frappe.tests import IntegrationTestCase
class TestLowerDeductionCertificate(unittest.TestCase):
class TestLowerDeductionCertificate(IntegrationTestCase):
pass

View File

@@ -1,9 +1,10 @@
# Copyright (c) 2021, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt
# import frappe
import unittest
from frappe.tests import IntegrationTestCase
class TestSouthAfricaVATSettings(unittest.TestCase):
class TestSouthAfricaVATSettings(IntegrationTestCase):
pass

View File

@@ -1,9 +1,10 @@
# Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt
# import frappe
import unittest
from frappe.tests import IntegrationTestCase
class TestUAEVATSettings(unittest.TestCase):
class TestUAEVATSettings(IntegrationTestCase):
pass

View File

@@ -1,14 +1,14 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
import unittest
import frappe
from frappe.tests import IntegrationTestCase
from erpnext.regional.report.irs_1099.irs_1099 import execute as execute_1099_report
class TestUnitedStates(unittest.TestCase):
class TestUnitedStates(IntegrationTestCase):
def test_irs_1099_custom_field(self):
if not frappe.db.exists("Supplier", "_US 1099 Test Supplier"):
doc = frappe.new_doc("Supplier")