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,10 +1,11 @@
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt
import unittest
from frappe.tests import IntegrationTestCase
# test_records = frappe.get_test_records('Installation Note')
class TestInstallationNote(unittest.TestCase):
class TestInstallationNote(IntegrationTestCase):
pass

View File

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

View File

@@ -1,12 +1,12 @@
# Copyright (c) 2019, Frappe Technologies Pvt. Ltd. and Contributors
# See license.txt
import unittest
import frappe
from frappe.tests import IntegrationTestCase
class TestSellingSettings(unittest.TestCase):
class TestSellingSettings(IntegrationTestCase):
def test_defaults_populated(self):
# Setup default values are not populated on migrate, this test checks
# if setup was completed correctly