summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am1
-rw-r--r--tests/test_gobject.py12
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 3b05018..6d0c51a 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -24,6 +24,7 @@ testhelper_la_SOURCES = \
tests = \
test_conversion.py \
test_enum.py \
+ test_gobject.py \
test_gtype.py \
test_interface.py \
test_mainloop.py \
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')