frappe/frappe#478 replaced doclist in testcases

This commit is contained in:
Nabin Hait
2014-04-04 13:26:50 +05:30
parent a504f0638b
commit e7885e3ee0
16 changed files with 236 additions and 238 deletions

View File

@@ -17,7 +17,7 @@ class TimeLogBatchTest(unittest.TestCase):
self.assertEquals(frappe.db.get_value("Time Log", time_log.name, "status"), "Submitted")
tlb = frappe.copy_doc(test_records[0])
tlb.doclist[1].time_log = time_log.name
tlb["time_log_batch_details"][0].time_log = time_log.name
tlb.insert()
tlb.submit()