X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2Ftest%2FtestModulePage.py;h=6c4f8dc7d91c2cccd56f1d5e952b34cd80c831a5;hb=1fe604ce663530130833c05d65dbcf7fec9d2ebe;hp=026e9ae9d9bafe4e91bf0d66f98ef9af7d75be87;hpb=170e5a32acbf87808fd5c92153a59d50b3c3b88d;p=bertos.git diff --git a/wizard/test/testModulePage.py b/wizard/test/testModulePage.py index 026e9ae9..6c4f8dc7 100644 --- a/wizard/test/testModulePage.py +++ b/wizard/test/testModulePage.py @@ -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,6 +29,8 @@ def main(): app.project = BProject.BProject() page = BModulePage.BModulePage() page._projectInfoStore("SOURCES_PATH", "../../") + page._projectInfoStore("CPU_INFOS", {"TOOLCHAIN": "avr"}) + bertos_utils.loadSourceTree(page._project()) page.reloadData() page.show() app.exec_()