From ab918abc1e103e0ca86939f7d057e8a44ac8a4ef Mon Sep 17 00:00:00 2001 From: Renato Filho Date: Mon, 7 Jun 2010 14:43:45 -0300 Subject: Created new unittest model. Separete unittest for module. Only run unittest for compiled modules. Reviewer: Marcelo Lira , Luciano Wolf --- tests/QtCore/missing_symbols_test.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/QtCore/missing_symbols_test.py (limited to 'tests/QtCore/missing_symbols_test.py') diff --git a/tests/QtCore/missing_symbols_test.py b/tests/QtCore/missing_symbols_test.py new file mode 100644 index 000000000..f535c53d3 --- /dev/null +++ b/tests/QtCore/missing_symbols_test.py @@ -0,0 +1,16 @@ + +'''(Very) Simple test case for missing names from QtCore''' + +import unittest +from PySide import QtCore + +class MissingClasses(unittest.TestCase): + + def testQSettings(self): # Bug 232 + getattr(QtCore, 'QSettings') + + def testQtTrNoop(self): # Bug 220 + getattr(QtCore, 'QT_TR_NOOP') + +if __name__ == '__main__': + unittest.main() -- cgit v1.2.3