fix:test appointments

This commit is contained in:
Pranav Nachanekar 2019-09-30 15:35:38 +05:30
parent 14a3e64c80
commit 2ea9b3e6f2

View File

@ -8,7 +8,7 @@ import unittest
import datetime import datetime
def create_test_lead(): def create_test_lead():
if frappe.db.exists({'doctype:''Lead','lead_name':'Test Lead'}): if frappe.db.exists({'doctype':'Lead','lead_name':'Test Lead'}):
return return
test_lead = frappe.get_doc({ test_lead = frappe.get_doc({
'doctype':'Lead', 'doctype':'Lead',