Use usignet long for baudrate.
[bertos.git] / wizard / test / testModulePage.py
1 #!/usr/bin/env python
2 # encoding: utf-8
3 #
4 # Copyright 2009 Develer S.r.l. (http://www.develer.com/)
5 # All rights reserved.
6 #
7 # $Id:$
8 #
9 # Author: Lorenzo Berni <duplo@develer.com>
10 #
11
12 import sys
13 import os
14
15 from PyQt4.QtGui import *
16
17 # Add the wizard class path in the path for the testing module
18 sys.path.append("../")
19
20 import BProject
21 import BModulePage
22
23 # Add a custom UI_LOCATION constant
24 BModulePage.UI_LOCATION = "../ui"
25
26 def main():
27     app = QApplication([])
28     app.project = BProject.BProject()
29     page = BModulePage.BModulePage()
30     page._projectInfoStore("SOURCES_PATH", "../../")
31     page.reloadData()
32     page.show()
33     app.exec_()
34
35
36 if __name__ == '__main__':
37     main()
38