refactor(test): speed up payment reconciliation tests

This commit is contained in:
ruthra kumar
2026-05-11 13:02:17 +05:30
parent f38eca9124
commit f58242dca7
2 changed files with 116 additions and 255 deletions

View File

@@ -900,6 +900,13 @@ class BootStrapTestData:
"default_currency": "USD",
"accounts": [{"company": "_Test Company", "account": "_Test Payable USD - _TC"}],
},
{
"doctype": "Supplier",
"supplier_name": "_Test Another Supplier USD",
"supplier_group": "_Test Supplier Group",
"default_currency": "USD",
"accounts": [{"company": "_Test Company", "account": "_Test Payable USD - _TC"}],
},
{
"doctype": "Supplier",
"supplier_name": "_Test Supplier With Tax Category",
@@ -951,6 +958,13 @@ class BootStrapTestData:
"is_group": 0,
"parent_cost_center": "_Test Company - _TC",
},
{
"company": "_Test Company",
"cost_center_name": "Sub",
"doctype": "Cost Center",
"is_group": 0,
"parent_cost_center": "_Test Company - _TC",
},
]
self.make_records(["cost_center_name", "company"], records)