test modules added and modified (not working yet)

This commit is contained in:
Sebastian Wehling-Benatelli 2014-11-13 11:30:19 +01:00
parent 8c66f1823a
commit c40aec192c
4 changed files with 56 additions and 1 deletions

View File

@ -0,0 +1,26 @@
'''
Created on 10.11.2014
@author: sebastianw
'''
import unittest
class Test(unittest.TestCase):
def setUp(self):
pass
def tearDown(self):
pass
def testName(self):
pass
if __name__ == "__main__":
#import sys;sys.argv = ['', 'Test.testName']
unittest.main()

View File

@ -0,0 +1,18 @@
'''
Created on 10.11.2014
@author: sebastianw
'''
import unittest
class Test(unittest.TestCase):
def testName(self):
pass
if __name__ == "__main__":
#import sys;sys.argv = ['', 'Test.testName']
unittest.main()

11
testHelpForm.py Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env python
import sys, time
from PySide.QtGui import QApplication
from pylot.core.util.widgets import HelpForm
app = QApplication(sys.argv)
win = HelpForm()
win.show()
app.exec_()

View File

@ -11,5 +11,5 @@ app = QApplication(sys.argv)
for dlg in dialogs:
win = dlg()
win.show()
time.sleep(10)
time.sleep(1)
win.destroy()