| # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors |
| # License: GNU General Public License v3. See license.txt |
| from __future__ import unicode_literals |
| def create_test_contact_and_address(): |
| frappe.db.sql('delete from tabContact') |
| frappe.db.sql('delete from tabAddress') |
| frappe.db.sql('delete from `tabDynamic Link`') |
| address_title='_Test Address for Customer', |
| address_line1='Station Road', |
| link_name='_Test Customer' |
| email_id='test_contact_customer@example.com', |
| first_name='_Test Contact for _Test Customer', |
| link_name='_Test Customer' |