test: fix flaky bin value test
This commit is contained in:
parent
eb8495a401
commit
5d85b35f41
@ -161,6 +161,15 @@ class TestPurchaseReceipt(FrappeTestCase):
|
|||||||
qty=abs(existing_bin_qty)
|
qty=abs(existing_bin_qty)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
existing_bin_qty, existing_bin_stock_value = frappe.db.get_value(
|
||||||
|
"Bin",
|
||||||
|
{
|
||||||
|
"item_code": "_Test Item",
|
||||||
|
"warehouse": "_Test Warehouse - _TC"
|
||||||
|
},
|
||||||
|
["actual_qty", "stock_value"]
|
||||||
|
)
|
||||||
|
|
||||||
pr = make_purchase_receipt()
|
pr = make_purchase_receipt()
|
||||||
|
|
||||||
stock_value_difference = frappe.db.get_value(
|
stock_value_difference = frappe.db.get_value(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user