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

16 lines
494 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
2015-11-12 12:41:38 +00:00
from erpnext.setup.setup_wizard.test_setup_data import args
2015-11-09 11:23:11 +00:00
from frappe.desk.page.setup_wizard.setup_wizard import setup_complete
2015-04-06 13:59:16 +00:00
import frappe.utils.scheduler
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)
2015-11-09 11:23:11 +00:00
setup_complete()
2015-04-06 13:59:16 +00:00
frappe.utils.scheduler.disable_scheduler()