mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 23:19:20 +00:00
upgraded test_runner, now can run multiple tests
This commit is contained in:
@@ -182,12 +182,3 @@ class DocType(TransactionBase):
|
||||
#update master_name in doctype account
|
||||
webnotes.conn.sql("""update `tabAccount` set master_name = %s,
|
||||
master_type = 'Supplier' where master_name = %s""" , (new,old))
|
||||
|
||||
test_records = [
|
||||
[{
|
||||
"doctype": "Supplier",
|
||||
"supplier_name": "_Test Supplier",
|
||||
"supplier_type": "_Test Supplier Type",
|
||||
"company": "_Test Company"
|
||||
}]
|
||||
]
|
||||
8
buying/doctype/supplier/test_supplier.py
Normal file
8
buying/doctype/supplier/test_supplier.py
Normal file
@@ -0,0 +1,8 @@
|
||||
test_records = [
|
||||
[{
|
||||
"doctype": "Supplier",
|
||||
"supplier_name": "_Test Supplier",
|
||||
"supplier_type": "_Test Supplier Type",
|
||||
"company": "_Test Company"
|
||||
}]
|
||||
]
|
||||
Reference in New Issue
Block a user