From fbce860f00887ed8cf52cdd88f5114092306d336 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 7 Oct 2024 20:18:35 +0200 Subject: [PATCH] refactor: Use IntegrationTestCase in test_accounts_settings.py Signed-off-by: David --- .../doctype/accounts_settings/test_accounts_settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/accounts_settings/test_accounts_settings.py b/erpnext/accounts/doctype/accounts_settings/test_accounts_settings.py index a350cc385da..e555f0ded15 100644 --- a/erpnext/accounts/doctype/accounts_settings/test_accounts_settings.py +++ b/erpnext/accounts/doctype/accounts_settings/test_accounts_settings.py @@ -1,9 +1,10 @@ import unittest import frappe +from frappe.tests import IntegrationTestCase -class TestAccountsSettings(unittest.TestCase): +class TestAccountsSettings(IntegrationTestCase): def tearDown(self): # Just in case `save` method succeeds, we need to take things back to default so that other tests # don't break