commit | 70ec88b733880958bae15f951b54179053d86340 | [log] [tgz] |
---|---|---|
author | Nabin Hait <nabinhait@gmail.com> | Fri Oct 10 21:22:46 2014 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Fri Oct 10 21:22:46 2014 +0530 |
tree | 716eb4cfb922e4d10d83255df26de66229ad4611 | |
parent | 4f0e5db2162e3559df13a8feb94b677cbe6b1edc [diff] |
fixed test cases
diff --git a/erpnext/stock/doctype/purchase_receipt/test_purchase_receipt.py b/erpnext/stock/doctype/purchase_receipt/test_purchase_receipt.py index 51c85ce..67f621a 100644 --- a/erpnext/stock/doctype/purchase_receipt/test_purchase_receipt.py +++ b/erpnext/stock/doctype/purchase_receipt/test_purchase_receipt.py
@@ -95,7 +95,7 @@ pr.insert() self.assertEquals(len(pr.get("pr_raw_material_details")), 2) - self.assertEquals(pr.get("purchase_receipt_details")[0].rm_supp_cost, 70000.0) + self.assertEquals(pr.get("purchase_receipt_details")[0].rm_supp_cost, 20750.0) def test_serial_no_supplier(self):
diff --git a/erpnext/stock/doctype/stock_entry/test_stock_entry.py b/erpnext/stock/doctype/stock_entry/test_stock_entry.py index 7654cbc..e010bd1 100644 --- a/erpnext/stock/doctype/stock_entry/test_stock_entry.py +++ b/erpnext/stock/doctype/stock_entry/test_stock_entry.py
@@ -939,3 +939,5 @@ s.insert() s.submit() return s + +test_records = frappe.get_test_records('Stock Entry')