summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2010-12-17 11:28:01 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2010-12-17 11:31:37 -0300
commitd3e5c54d8a08643eaa8f4ea6ef8fd156a0d21621 (patch)
treef6c8f662ea57a48195401671da41e560441a58b9
parent97740beab9b30b068bd07bad5276bb912b34b073 (diff)
downloadpyside-d3e5c54d8a08643eaa8f4ea6ef8fd156a0d21621.tar.gz
pyside-d3e5c54d8a08643eaa8f4ea6ef8fd156a0d21621.tar.xz
pyside-d3e5c54d8a08643eaa8f4ea6ef8fd156a0d21621.zip
Updated model/view test to follow changes in Shiboken/9459b9da commit.
Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Lauro Moura <lauro.neto@openbossa.org>
-rw-r--r--tests/pysidetest/modelview_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pysidetest/modelview_test.py b/tests/pysidetest/modelview_test.py
index 8629b61..94cf3f0 100644
--- a/tests/pysidetest/modelview_test.py
+++ b/tests/pysidetest/modelview_test.py
@@ -48,7 +48,7 @@ class ModelViewTest(unittest.TestCase):
model = ListModelDoesntKeepsReference()
view = TestView(model)
obj = view.getData()
- self.assertEqual(type(obj), QObject)
+ self.assertEqual(type(obj), MyObject)
self.assertEqual(obj.objectName(), object_name)
def testListModelKeepsReference(self):