refactor(UAE VAT 201): Update erpnext/regional/report/uae_vat_201/test_uae_vat_201.py
Co-authored-by: Shivam Mishra <scmmishra@users.noreply.github.com>
diff --git a/erpnext/regional/report/uae_vat_201/test_uae_vat_201.py b/erpnext/regional/report/uae_vat_201/test_uae_vat_201.py
index 7514652..5fdb264 100644
--- a/erpnext/regional/report/uae_vat_201/test_uae_vat_201.py
+++ b/erpnext/regional/report/uae_vat_201/test_uae_vat_201.py
@@ -101,12 +101,11 @@
)
uae_vat_accounts = []
- for d in vat_accounts:
- uae_vat_accounts.append(
- {
+ for account in vat_accounts:
+ uae_vat_accounts.append({
"doctype": "UAE VAT Account",
- "account":d.name
- })
+ "account": account.name
+ })
frappe.get_doc({
"company": "_Test Company UAE VAT",