diff options
| author | Jeremy BĂcha <jbicha@ubuntu.com> | 2026-08-21 21:09:20 +0200 |
|---|---|---|
| committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2026-10-12 22:40:36 +0200 |
| commit | 6c51d6f4d2e035e9f453a3229e5089e6b5379e99 (patch) | |
| tree | 45c53e80a45d77b1e765248d75a084196e84237a /debian/tests | |
| parent | 67e0a1671d7e2acd16c48e6b637ec861b6e1d1d0 (diff) | |
| download | libayatana-common-6c51d6f4d2e035e9f453a3229e5089e6b5379e99.tar.gz libayatana-common-6c51d6f4d2e035e9f453a3229e5089e6b5379e99.tar.bz2 libayatana-common-6c51d6f4d2e035e9f453a3229e5089e6b5379e99.zip | |
debian: Sync with Debian
Diffstat (limited to 'debian/tests')
| -rw-r--r-- | debian/tests/control | 8 | ||||
| -rwxr-xr-x | debian/tests/python-gi-test | 10 |
2 files changed, 18 insertions, 0 deletions
diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..45b5378 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,8 @@ +Tests: python-gi-test +Depends: + gir1.2-ayatanacommon-0.1, + python3, + python3-gi, +Restrictions: + allow-stderr, + superficial, 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) |
