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