aboutsummaryrefslogtreecommitdiff
path: root/debian/tests/python-gi-test
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/python-gi-test')
-rwxr-xr-xdebian/tests/python-gi-test10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/tests/python-gi-test b/debian/tests/python-gi-test
new file mode 100755
index 0000000..9754ea1
--- /dev/null
+++ b/debian/tests/python-gi-test
@@ -0,0 +1,10 @@
+#!/usr/bin/python3
+#
+# Make sure gobject introspection works
+
+import gi
+
+gi.require_version('AyatanaCommon', '0.1')
+from gi.repository import AyatanaCommon
+
+assert AyatanaCommon.utils_is_gnome() in (True, False)