Merge pull request #43548 from blaggacao/test-refactoring/batch-1728345166

Refactor: Use IntegrationTestCase in multiple files
This commit is contained in:
David Arnold
2024-10-08 02:12:57 +02:00
committed by GitHub
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