From 34fc2c1e81006d7a61f16cdc47c09c80f3e3e70c Mon Sep 17 00:00:00 2001 From: David Date: Mon, 7 Oct 2024 21:44:04 +0200 Subject: [PATCH] refactor: Use IntegrationTestCase in test_bank_account.py Signed-off-by: David --- erpnext/accounts/doctype/bank_account/test_bank_account.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/accounts/doctype/bank_account/test_bank_account.py b/erpnext/accounts/doctype/bank_account/test_bank_account.py index 0ec388d9e5c..0d6975d9744 100644 --- a/erpnext/accounts/doctype/bank_account/test_bank_account.py +++ b/erpnext/accounts/doctype/bank_account/test_bank_account.py @@ -1,15 +1,15 @@ # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # See license.txt - import unittest import frappe from frappe import ValidationError +from frappe.tests import IntegrationTestCase # test_records = frappe.get_test_records('Bank Account') -class TestBankAccount(unittest.TestCase): +class TestBankAccount(IntegrationTestCase): def test_validate_iban(self): valid_ibans = [ "GB82 WEST 1234 5698 7654 32",