mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 04:09:11 +00:00
refactor: Use IntegrationTestCase in multiple files
Signed-off-by: David <dgx.arnold@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user