fix: Remove GL Entry from print

This commit is contained in:
Deepesh Garg 2021-05-27 20:10:50 +05:30
parent 2e83cb77ca
commit a150645b57

View File

@ -1017,9 +1017,6 @@ class TestPurchaseInvoice(unittest.TestCase):
where voucher_type='Purchase Invoice' and voucher_no=%s where voucher_type='Purchase Invoice' and voucher_no=%s
order by account asc""", (purchase_invoice.name), as_dict=1) 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): 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)