From a0a98b149fa0b266736aba2f39aec319b2cbe226 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 7 Oct 2024 22:44:41 +0200 Subject: [PATCH] refactor: Use IntegrationTestCase in test_bank_clearance.py Signed-off-by: David --- .../accounts/doctype/bank_clearance/test_bank_clearance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/accounts/doctype/bank_clearance/test_bank_clearance.py b/erpnext/accounts/doctype/bank_clearance/test_bank_clearance.py index 658a69a4803..dd25cad2666 100644 --- a/erpnext/accounts/doctype/bank_clearance/test_bank_clearance.py +++ b/erpnext/accounts/doctype/bank_clearance/test_bank_clearance.py @@ -1,9 +1,9 @@ # Copyright (c) 2020, Frappe Technologies Pvt. Ltd. and Contributors # See license.txt - import unittest import frappe +from frappe.tests import IntegrationTestCase from frappe.utils import add_months, getdate from erpnext.accounts.doctype.cost_center.test_cost_center import create_cost_center @@ -15,7 +15,7 @@ from erpnext.stock.doctype.warehouse.test_warehouse import create_warehouse from erpnext.tests.utils import if_lending_app_installed, if_lending_app_not_installed -class TestBankClearance(unittest.TestCase): +class TestBankClearance(IntegrationTestCase): @classmethod def setUpClass(cls): create_warehouse(