fix: Debug test
This commit is contained in:
parent
758db793be
commit
8090965162
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user