aboutsummaryrefslogtreecommitdiffstats
path: root/tests/pysidetest
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2010-10-07 17:25:56 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2010-10-11 17:47:03 -0300
commit7fab5c03a94a24f6496ad129485244f7d6f4f994 (patch)
treea2acc73a45ad9595cfff1726600c257785b6a8a7 /tests/pysidetest
parent4b3b56acd7caaa7ff0d9c7b913cfe73db12afd4a (diff)
Signal objects redirect calls for homonymous methods.
Diffstat (limited to 'tests/pysidetest')
-rw-r--r--tests/pysidetest/CMakeLists.txt2
-rw-r--r--tests/pysidetest/homonymoussignalandmethod_test.py (renamed from tests/pysidetest/homonimoussignalandmethod_test.py)10
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/pysidetest/CMakeLists.txt b/tests/pysidetest/CMakeLists.txt
index 86d232f95..887a2d57f 100644
--- a/tests/pysidetest/CMakeLists.txt
+++ b/tests/pysidetest/CMakeLists.txt
@@ -67,5 +67,5 @@ target_link_libraries(testbinding
add_dependencies(testbinding pyside QtCore libpyside pysidetest)
-PYSIDE_TEST(homonimoussignalandmethod_test.py)
+PYSIDE_TEST(homonymoussignalandmethod_test.py)
diff --git a/tests/pysidetest/homonimoussignalandmethod_test.py b/tests/pysidetest/homonymoussignalandmethod_test.py
index 50f14a8f5..4850c5bc3 100644
--- a/tests/pysidetest/homonimoussignalandmethod_test.py
+++ b/tests/pysidetest/homonymoussignalandmethod_test.py
@@ -3,9 +3,9 @@
import unittest
from testbinding import TestObject
-'''Tests the behaviour of homonimous signals and slots.'''
+'''Tests the behaviour of homonymous signals and slots.'''
-class HomonimousSignalAndMethodTest(unittest.TestCase):
+class HomonymousSignalAndMethodTest(unittest.TestCase):
def setUp(self):
self.value = 123
@@ -39,13 +39,13 @@ class HomonimousSignalAndMethodTest(unittest.TestCase):
def testCallingInstanceMethodWithoutArguments(self):
self.assertRaises(TypeError, TestObject.idValue)
- def testHomonimousSignalAndMethod(self):
+ def testHomonymousSignalAndMethod(self):
self.assertEqual(self.obj.idValue(), self.value)
- def testHomonimousSignalAndStaticMethod(self):
+ def testHomonymousSignalAndStaticMethod(self):
self.assertEqual(TestObject.staticMethodDouble(3), 6)
- def testHomonimousSignalAndStaticMethodFromInstance(self):
+ def testHomonymousSignalAndStaticMethodFromInstance(self):
self.assertEqual(self.obj.staticMethodDouble(4), 8)
if __name__ == '__main__':