brotherton-erpnext/erpnext/setup/page/setup_wizard/test_setup_wizard.py

14 lines
426 B
Python
Raw Normal View History

# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
2013-10-08 12:29:11 +00:00
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
2014-02-14 10:17:51 +00:00
import frappe
2013-10-08 12:29:11 +00:00
from erpnext.setup.page.setup_wizard.test_setup_data import args
from erpnext.setup.page.setup_wizard.setup_wizard import setup_account
2013-10-08 12:29:11 +00:00
if __name__=="__main__":
2014-02-14 10:17:51 +00:00
frappe.connect()
frappe.local.form_dict = frappe._dict(args)
2013-10-08 12:29:11 +00:00
setup_account()