Move loadSourceTree and findDefinitions function into BProject class (to avoid useles...
[bertos.git] / wizard / test / testCpuTagsImport.py
index b5e77fc708b52a7b61b818d9faa52a65a219d40c..19a1e37614b4adf197d396fb9028ad6c16aff5ef 100644 (file)
@@ -39,13 +39,13 @@ import os
 
 sys.path.append("../")
 
-from BProject import BProject
+import BProject
 from bertos_utils import *
 
 def main():
-    p = BProject()
+    p = BProject.BProject()
     p.setInfo("SOURCES_PATH", "../../")
-    loadSourceTree(p)
+    p.loadSourceTree()
     info = loadCpuInfos(p)
     tags = getTagSet(info)
     print tags