mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-16 00:37:15 +00:00
fix:test appointments
This commit is contained in:
@@ -8,7 +8,7 @@ import unittest
|
||||
import datetime
|
||||
|
||||
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
|
||||
test_lead = frappe.get_doc({
|
||||
'doctype':'Lead',
|
||||
|
||||
Reference in New Issue
Block a user