summaryrefslogtreecommitdiffstats
path: root/tests/test_subtype.py
diff options
context:
space:
mode:
authorGustavo J. A. M. Carneiro <gjc@src.gnome.org>2007-08-13 10:22:26 +0000
committerGustavo J. A. M. Carneiro <gjc@src.gnome.org>2007-08-13 10:22:26 +0000
commit99b0cae5f74639915775ebf2514ba595475e4400 (patch)
tree2090b8aa0608cacddf48f91471fc45141aedd1f0 /tests/test_subtype.py
parentd646d41e0fc6e8b293fe2f6ef2a4c438afd262a1 (diff)
downloadpygobject-99b0cae5f74639915775ebf2514ba595475e4400.tar.gz
pygobject-99b0cae5f74639915775ebf2514ba595475e4400.tar.xz
pygobject-99b0cae5f74639915775ebf2514ba595475e4400.zip
Add test case for one the problems reported in bug #466082
svn path=/trunk/; revision=693
Diffstat (limited to 'tests/test_subtype.py')
-rw-r--r--tests/test_subtype.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_subtype.py b/tests/test_subtype.py
index af03b52..a77ea4e 100644
--- a/tests/test_subtype.py
+++ b/tests/test_subtype.py
@@ -259,3 +259,11 @@ class TestSubType(unittest.TestCase):
foo = Foo()
foo.fooprop = 123
+
+ def testGetDict(self):
+ """reported in bug #466082"""
+ class Foo(gobject.GObject):
+ __gtype_name__ = 'Foo'
+ foo = Foo()
+ d = foo.__dict__
+