[fix] for setup wizard tests and demo;

This commit is contained in:
Rushabh Mehta 2017-02-09 18:06:11 +05:30
parent 2b5fa7647a
commit cf99dc0e77
3 changed files with 11 additions and 14 deletions

View File

@ -46,8 +46,7 @@ def complete_setup(domain='Manufacturing'):
if not frappe.get_all('Company', limit=1):
setup_complete({
"first_name": "Test",
"last_name": "User",
"full_name": "Test User",
"email": "test_demo@erpnext.com",
"company_tagline": 'Awesome Products and Services',
"password": "demo",

View File

@ -13,7 +13,7 @@ args = {
"customer_2": "Mahesh Engg",
"customer_contact_1": "Aditya Duggal",
"customer_contact_2": "Mahesh Malani",
"first_name": "Rushabh",
"full_name": "Rushabh Mehta",
"fy_start": "1st Apr",
"item_1": "Enterprise Plan",
"item_2": "Small Business",
@ -42,7 +42,6 @@ args = {
"item_uom_3": "Unit",
"item_uom_4": "Unit",
"item_uom_5": "Unit",
"last_name": "Mehta",
"supplier_1": "Google",
"supplier_2": "Hetzner",
"supplier_3": "Digital Ocean",

View File

@ -37,8 +37,7 @@ def before_tests():
if not frappe.get_list("Company"):
setup_complete({
"currency" :"USD",
"first_name" :"Test",
"last_name" :"User",
"full_name" :"Test User",
"company_name" :"Wind Power LLC",
"timezone" :"America/New_York",
"company_abbr" :"WP",