mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 03:29:16 +00:00
upgraded test_runner, now can run multiple tests
This commit is contained in:
22
utilities/doctype/contact/test_contact.py
Normal file
22
utilities/doctype/contact/test_contact.py
Normal file
@@ -0,0 +1,22 @@
|
||||
test_records = [
|
||||
[{
|
||||
"doctype": "Contact",
|
||||
"customer": "_Test Customer",
|
||||
"customer_name": "_Test Customer",
|
||||
"first_name": "_Test Contact For _Test Customer",
|
||||
"email_id": "test_contact_customer@example.com",
|
||||
"phone": "+91 0000000000",
|
||||
"status": "Open",
|
||||
"is_primary_contact": 1
|
||||
}],
|
||||
[{
|
||||
"doctype": "Contact",
|
||||
"supplier": "_Test Supplier",
|
||||
"supplier_name": "_Test Supplier",
|
||||
"first_name": "_Test Contact For _Test Supplier",
|
||||
"email_id": "test_contact_supplier@example.com",
|
||||
"phone": "+91 0000000000",
|
||||
"status": "Open",
|
||||
"is_primary_contact": 1
|
||||
}]
|
||||
]
|
||||
Reference in New Issue
Block a user