fix: Debug Test

This commit is contained in:
Deepesh Garg 2021-05-27 17:43:53 +05:30
parent ea18230274
commit 740c68d075

View File

@ -1016,6 +1016,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 gle in 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)