summaryrefslogtreecommitdiffstats
path: root/subprojects/libhandy/debian/tests/python-gi-test
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsubprojects/libhandy/debian/tests/python-gi-test13
1 files changed, 13 insertions, 0 deletions
diff --git a/subprojects/libhandy/debian/tests/python-gi-test b/subprojects/libhandy/debian/tests/python-gi-test
new file mode 100755
index 0000000..dfb1bf3
--- /dev/null
+++ b/subprojects/libhandy/debian/tests/python-gi-test
@@ -0,0 +1,13 @@
+#!/usr/bin/python3
+#
+# Make sure gobject introspection works
+
+import gi
+
+gi.require_version('Handy', '1')
+from gi.repository import Handy
+
+group = Handy.SwipeGroup()
+
+assert type(group).__name__ == 'SwipeGroup'
+assert group.get_swipeables() == []