refactor(test): make uae vat audit deterministic

This commit is contained in:
ruthra kumar
2026-02-12 17:07:41 +05:30
parent 96f9fc3484
commit a91ed14aec
2 changed files with 10 additions and 3 deletions

View File

@@ -11,11 +11,11 @@ from erpnext.accounts.doctype.account.test_account import create_account
from erpnext.accounts.doctype.purchase_invoice.test_purchase_invoice import make_purchase_invoice
from erpnext.accounts.doctype.sales_invoice.test_sales_invoice import create_sales_invoice
from erpnext.regional.report.vat_audit_report.vat_audit_report import execute
from erpnext.tests.utils import ERPNextTestSuite
class TestVATAuditReport(TestCase):
class TestVATAuditReport(ERPNextTestSuite):
def setUp(self):
frappe.set_user("Administrator")
make_company("_Test Company SA VAT", "_TCSV")
create_account(

View File

@@ -991,7 +991,14 @@ class ERPNextTestSuite(unittest.TestCase):
"country": "United Arab Emirates",
"default_currency": "AED",
"doctype": "Company",
"domain": "Manufacturing",
"create_chart_of_accounts_based_on": "Standard Template",
},
{
"abbr": "_TCSV",
"company_name": "_Test Company SA VAT",
"country": "South Africa",
"default_currency": "ZAR",
"doctype": "Company",
"create_chart_of_accounts_based_on": "Standard Template",
},
]