mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 00:44:45 +00:00
fix: Debug tests
This commit is contained in:
@@ -991,6 +991,9 @@ class TestPurchaseInvoice(unittest.TestCase):
|
|||||||
where voucher_type='Payment Entry' and voucher_no=%s
|
where voucher_type='Payment Entry' and voucher_no=%s
|
||||||
order by account asc""", (payment_entry.name), as_dict=1)
|
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):
|
for i, gle in enumerate(gl_entries):
|
||||||
self.assertEqual(expected_gle[i][0], gle.account)
|
self.assertEqual(expected_gle[i][0], gle.account)
|
||||||
self.assertEqual(expected_gle[i][1], gle.debit)
|
self.assertEqual(expected_gle[i][1], gle.debit)
|
||||||
|
|||||||
Reference in New Issue
Block a user