mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 20:29:09 +00:00
Test case fixes
This commit is contained in:
@@ -57,7 +57,8 @@ class TestPurchaseInvoice(unittest.TestCase):
|
|||||||
|
|
||||||
expected_values = sorted([
|
expected_values = sorted([
|
||||||
["_Test Supplier - _TC", 0, 720],
|
["_Test Supplier - _TC", 0, 720],
|
||||||
["Stock Received But Not Billed - _TC", 500.0, 0],
|
["Stock Received But Not Billed - _TC", 750.0, 0],
|
||||||
|
["Expenses Included In Valuation - _TC", 0.0, 250.0],
|
||||||
["_Test Account Shipping Charges - _TC", 100.0, 0],
|
["_Test Account Shipping Charges - _TC", 100.0, 0],
|
||||||
["_Test Account VAT - _TC", 120.0, 0],
|
["_Test Account VAT - _TC", 120.0, 0],
|
||||||
])
|
])
|
||||||
@@ -89,10 +90,9 @@ class TestPurchaseInvoice(unittest.TestCase):
|
|||||||
|
|
||||||
expected_values = sorted([
|
expected_values = sorted([
|
||||||
["_Test Supplier - _TC", 0, 720],
|
["_Test Supplier - _TC", 0, 720],
|
||||||
["Stock Received But Not Billed - _TC", 750.0, 0],
|
["Stock Received But Not Billed - _TC", 500.0, 0],
|
||||||
["_Test Account Shipping Charges - _TC", 100.0, 0],
|
["_Test Account Shipping Charges - _TC", 100.0, 0],
|
||||||
["_Test Account VAT - _TC", 120.0, 0],
|
["_Test Account VAT - _TC", 120.0, 0],
|
||||||
["Expenses Included In Valuation - _TC", 0, 250.0],
|
|
||||||
])
|
])
|
||||||
|
|
||||||
for i, gle in enumerate(gl_entries):
|
for i, gle in enumerate(gl_entries):
|
||||||
|
|||||||
Reference in New Issue
Block a user