summaryrefslogtreecommitdiffstats
path: root/subprojects/libhandy/debian/tests/python-gi-test
blob: dfb1bf3a93d0c8f4d8e3f4f857afadf6466512b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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() == []