From d09d091db12fb0427b06fb80f4de754210e12743 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 15 Jan 2013 11:24:48 +0530 Subject: [PATCH] test case added for stock reco --- .../doctype/stock_reconciliation/test_stock_reconciliation.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stock/doctype/stock_reconciliation/test_stock_reconciliation.py b/stock/doctype/stock_reconciliation/test_stock_reconciliation.py index fb85f653a0..b3501cef56 100644 --- a/stock/doctype/stock_reconciliation/test_stock_reconciliation.py +++ b/stock/doctype/stock_reconciliation/test_stock_reconciliation.py @@ -50,6 +50,7 @@ class TestStockReconciliation(unittest.TestCase): [20, "", "2012-12-26", "12:05", 16000, 15, 18000], [10, 2000, "2012-12-26", "12:10", 20000, 5, 6000], [1, 1000, "2012-12-01", "00:00", 1000, 11, 13200], + [0, "", "2012-12-26", "12:10", 0, -5, 0] ] for d in input_data: @@ -89,6 +90,8 @@ class TestStockReconciliation(unittest.TestCase): [20, "", "2012-12-26", "12:05", 18000, 15, 18000], [10, 2000, "2012-12-26", "12:10", 20000, 5, 6000], [1, 1000, "2012-12-01", "00:00", 1000, 11, 13200], + [0, "", "2012-12-26", "12:10", 0, -5, 0] + ] for d in input_data: