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

@@ -254,13 +254,4 @@ class DocType:
sql("update `tabCompany` set company_name = '%s' where name = '%s'" %(newdn,olddn))
sql("update `tabSingles` set value = %s where doctype='Global Defaults' and field = 'default_company' and value = %s", (newdn, olddn))
if get_defaults('company') == olddn:
set_default('company', newdn)
test_records = [
[{
"doctype": "Company",
"company_name": "_Test Company",
"abbr": "_TC",
"default_currency": "INR",
}],
]
set_default('company', newdn)

View File

@@ -0,0 +1,10 @@
test_ignore = ["Account"]
test_records = [
[{
"doctype": "Company",
"company_name": "_Test Company",
"abbr": "_TC",
"default_currency": "INR",
}],
]