summaryrefslogtreecommitdiffstats
path: root/tests/test_gobject.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_gobject.py')
-rw-r--r--tests/test_gobject.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/test_gobject.py b/tests/test_gobject.py
new file mode 100644
index 0000000..34ba094
--- /dev/null
+++ b/tests/test_gobject.py
@@ -0,0 +1,12 @@
+# -*- Mode: Python -*-
+
+import unittest
+
+from common import gobject
+
+
+class TestGObjectAPI(unittest.TestCase):
+ def testGObjectModule(self):
+ obj = gobject.GObject()
+ self.assertEquals(obj.__module__,
+ 'gobject._gobject')