Remove the statement for creating the csrc, it isn't needed anymore
[bertos.git] / wizard / test / testModulePage.py
index 026e9ae9d9bafe4e91bf0d66f98ef9af7d75be87..f91a27e60be25de90f28b5cfa031da6303e5a013 100644 (file)
@@ -19,6 +19,7 @@ sys.path.append("../")
 
 import BProject
 import BModulePage
+import bertos_utils
 
 # Add a custom UI_LOCATION constant
 BModulePage.UI_LOCATION = "../ui"
@@ -28,11 +29,12 @@ def main():
     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.reloadData()
     page.show()
     app.exec_()
 
-
 if __name__ == '__main__':
     main()