upgraded test_runner, now can run multiple tests

This commit is contained in:
Rushabh Mehta
2013-02-12 19:20:39 +05:30
parent 9a8319dd0b
commit 4b9827a5fc
75 changed files with 508 additions and 662 deletions

View File

@@ -248,15 +248,4 @@ class DocType(TransactionBase):
#update master_name in doctype account
webnotes.conn.sql("""update `tabAccount` set master_name = %s,
master_type = 'Customer' where master_name = %s""", (new,old))
test_records = [
[{
"doctype": "Customer",
"customer_name": "_Test Customer",
"customer_type": "Individual",
"customer_group": "_Test Customer Group",
"territory": "_Test Territory",
"company": "_Test Company"
}]
]
master_type = 'Customer' where master_name = %s""", (new,old))

View File

@@ -0,0 +1,10 @@
test_records = [
[{
"doctype": "Customer",
"customer_name": "_Test Customer",
"customer_type": "Individual",
"customer_group": "_Test Customer Group",
"territory": "_Test Territory",
"company": "_Test Company"
}]
]