fix: Debug tests

This commit is contained in:
Deepesh Garg 2021-06-09 14:18:23 +05:30
parent 8090965162
commit 4c1dad8207

View File

@ -991,6 +991,9 @@ class TestPurchaseInvoice(unittest.TestCase):
where voucher_type='Payment Entry' and voucher_no=%s
order by account asc""", (payment_entry.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)