Show the scroll area only where there are one or more used plugins.
[bertos.git] / wizard / test / testModulePage.py
index f91a27e60be25de90f28b5cfa031da6303e5a013..321b1076c1f5479735620cb3f7d5b64dfb196a06 100644 (file)
@@ -28,13 +28,12 @@ def main():
     app = QApplication([])
     app.project = BProject.BProject()
     page = BModulePage.BModulePage()
-    page._projectInfoStore("SOURCES_PATH", "../../")
-    page._projectInfoStore("CPU_INFOS", {"TOOLCHAIN": "avr", "CPU_TAGS": []})
-    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