Update test_finance_book.py (#14703)

This commit is contained in:
Manas Solanki 2018-06-27 17:30:09 +05:30 committed by Nabin Hait
parent 23e235395e
commit 4933e6bfeb

View File

@ -29,7 +29,7 @@ class TestFinanceBook(unittest.TestCase):
jv.accounts[1].update({ jv.accounts[1].update({
"party_type": "Customer", "party_type": "Customer",
"party": "_Test Customer USD" "party": "_Test Customer"
}) })
jv.finance_book = finance_book.finance_book_name jv.finance_book = finance_book.finance_book_name
@ -40,4 +40,4 @@ class TestFinanceBook(unittest.TestCase):
filters={"voucher_type": "Journal Entry", "voucher_no": jv.name}) filters={"voucher_type": "Journal Entry", "voucher_no": jv.name})
for gl_entry in gl_entries: for gl_entry in gl_entries:
self.assertEqual(gl_entry.finance_book, finance_book.name) self.assertEqual(gl_entry.finance_book, finance_book.name)