Created new unittest model.

Separete unittest for module.
Only run unittest for compiled modules.

Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>,
          Luciano Wolf <luciano.wolf@openbossa.org>
This commit is contained in:
Renato Filho 2010-06-07 14:43:45 -03:00
commit ab918abc1e
211 changed files with 241 additions and 79 deletions

View file

@ -1,20 +0,0 @@
import unittest
from PySide.QtCore import Qt
from PySide.QtGui import QPen
class QPenTest(unittest.TestCase):
def testCtorWithCreatedEnums(self):
'''A simple case of QPen creation using created enums.'''
width = 0
style = Qt.PenStyle(0)
cap = Qt.PenCapStyle(0)
join = Qt.PenJoinStyle(0)
pen = QPen(Qt.blue, width, style, cap, join)
if __name__ == '__main__':
unittest.main()