fix: Debug test

This commit is contained in:
Deepesh Garg 2021-06-09 13:45:42 +05:30
parent 758db793be
commit 8090965162

View File

@ -1017,6 +1017,9 @@ class TestPurchaseInvoice(unittest.TestCase):
where voucher_type='Purchase Invoice' and voucher_no=%s
order by account asc""", (purchase_invoice.name), as_dict=1)
for i, gle in enumerate(gl_entries):
print(gle.account, gle.debit, gle.credit)
for i, gle in enumerate(gl_entries):
self.assertEqual(expected_gle[i][0], gle.account)
self.assertEqual(expected_gle[i][1], gle.debit)