fixed test cases
This commit is contained in:
parent
4f0e5db216
commit
70ec88b733
@ -95,7 +95,7 @@ class TestPurchaseReceipt(unittest.TestCase):
|
||||
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):
|
||||
|
@ -939,3 +939,5 @@ def make_stock_entry(item, source, target, qty, incoming_rate=None):
|
||||
s.insert()
|
||||
s.submit()
|
||||
return s
|
||||
|
||||
test_records = frappe.get_test_records('Stock Entry')
|
||||
|
Loading…
x
Reference in New Issue
Block a user