From e490d5044b5b5206bde8992371dad9431b3b497c Mon Sep 17 00:00:00 2001 From: ruthra kumar Date: Tue, 16 Sep 2025 16:46:49 +0530 Subject: [PATCH] refactor(test): make tax withholding tests deterministic --- .../tax_withholding_category/test_tax_withholding_category.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/accounts/doctype/tax_withholding_category/test_tax_withholding_category.py b/erpnext/accounts/doctype/tax_withholding_category/test_tax_withholding_category.py index 922203637e9..966aaf43fdf 100644 --- a/erpnext/accounts/doctype/tax_withholding_category/test_tax_withholding_category.py +++ b/erpnext/accounts/doctype/tax_withholding_category/test_tax_withholding_category.py @@ -1034,6 +1034,7 @@ class TestTaxWithholdingCategory(ERPNextTestSuite): self.cleanup_invoices(invoices) + @ERPNextTestSuite.change_settings("Buying Settings", {"allow_multiple_items": 1}) def test_tds_calculation_on_net_total_partial_tds(self): self.setup_party_with_category("Supplier", "Test TDS Supplier4", "Cumulative Threshold TDS") invoices = []