fix: Codacy

This commit is contained in:
Suraj Shetty 2019-12-02 14:22:17 +05:30
parent bd69e8cff3
commit 7e1834548c

View file

@ -71,6 +71,6 @@ def create_contact_phone_nos_records():
doc = frappe.new_doc('Contact')
doc.first_name = 'Test Contact'
for x in range(1000):
doc.append('phone_nos', {'phone': '123456789'})
for index in range(1000):
doc.append('phone_nos', {'phone': '123456{}'.format(index)})
doc.insert()