mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 19:29:10 +00:00
fix: test case
This commit is contained in:
@@ -305,8 +305,18 @@ class TestBatch(IntegrationTestCase):
|
|||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
get_batch_qty(item_code="ITEM-BATCH-2", warehouse="_Test Warehouse - _TC"),
|
get_batch_qty(item_code="ITEM-BATCH-2", warehouse="_Test Warehouse - _TC"),
|
||||||
[
|
[
|
||||||
{"batch_no": "batch a", "qty": 90.0, "warehouse": "_Test Warehouse - _TC"},
|
{
|
||||||
{"batch_no": "batch b", "qty": 90.0, "warehouse": "_Test Warehouse - _TC"},
|
"batch_no": "batch a",
|
||||||
|
"qty": 90.0,
|
||||||
|
"warehouse": "_Test Warehouse - _TC",
|
||||||
|
"expiry_date": None,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"batch_no": "batch b",
|
||||||
|
"qty": 90.0,
|
||||||
|
"warehouse": "_Test Warehouse - _TC",
|
||||||
|
"expiry_date": None,
|
||||||
|
},
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user