If no BeRTOS version is selected the Wizard automatically select the latest
[bertos.git] / wizard / test / testModulePage.py
index 6c4f8dc7d91c2cccd56f1d5e952b34cd80c831a5..321b1076c1f5479735620cb3f7d5b64dfb196a06 100644 (file)
@@ -28,14 +28,12 @@ def main():
     app = QApplication([])
     app.project = BProject.BProject()
     page = BModulePage.BModulePage()
-    page._projectInfoStore("SOURCES_PATH", "../../")
-    page._projectInfoStore("CPU_INFOS", {"TOOLCHAIN": "avr"})
-    bertos_utils.loadSourceTree(page._project())
+    page.setProjectInfo("SOURCES_PATH", "../../")
+    page.setProjectInfo("CPU_INFOS", {"TOOLCHAIN": "avr", "CPU_TAGS": []})
+    bertos_utils.loadSourceTree(page.project())
     page.reloadData()
     page.show()
     app.exec_()
 
-
 if __name__ == '__main__':
-    main()
-
+    main()
\ No newline at end of file