Aditya Hase | f3c22f3 | 2019-01-22 18:22:20 +0530 | [diff] [blame] | 1 | from __future__ import unicode_literals |
Chillar Anand | 915b343 | 2021-09-02 16:44:59 +0530 | [diff] [blame] | 2 | |
| 3 | import json |
| 4 | import os |
Rushabh Mehta | 919a74a | 2017-06-22 16:37:04 +0530 | [diff] [blame] | 5 | |
| 6 | from frappe.desk.page.setup_wizard.setup_wizard import setup_complete |
Chillar Anand | 915b343 | 2021-09-02 16:44:59 +0530 | [diff] [blame] | 7 | |
Rushabh Mehta | 919a74a | 2017-06-22 16:37:04 +0530 | [diff] [blame] | 8 | |
| 9 | def complete(): |
| 10 | with open(os.path.join(os.path.dirname(__file__), |
| 11 | 'data', 'test_mfg.json'), 'r') as f: |
| 12 | data = json.loads(f.read()) |
| 13 | |
Rushabh Mehta | 919a74a | 2017-06-22 16:37:04 +0530 | [diff] [blame] | 14 | setup_complete(data) |