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