File: python-gi-test

package info (click to toggle)
libhandy-1 1.8.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,576 kB
  • sloc: ansic: 39,084; xml: 540; sh: 78; python: 48; makefile: 11; javascript: 9
file content (13 lines) | stat: -rwxr-xr-x 247 bytes parent folder | download | duplicates (6)
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() == []