about summary refs log tree commit diff
path: root/debian
diff options
context:
space:
mode:
authorIain Lane <iain@orangesquash.org.uk>2018-09-24 09:34:42 +0100
committerIain Lane <iain@orangesquash.org.uk>2018-09-24 09:34:42 +0100
commit5361ff2e31404e281e51d024263331c9ca27a660 (patch)
tree146456308fb60980be8cf179d73b6995d4226c34 /debian
parent6263e338ab7c40dccb5b165cb7173f79852aed56 (diff)
debian/tests/nm: Add the required `gi.require_version()` calls - thanks to the autopkgtests for noticing this.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog7
-rwxr-xr-xdebian/tests/nm4
2 files changed, 11 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 98b0ab47..e13c41ea 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+network-manager (1.12.2-0ubuntu5) UNRELEASED; urgency=medium
+
+  * debian/tests/nm: Add the required `gi.require_version()` calls - thanks to
+    the autopkgtests for noticing this.
+
+ -- Iain Lane <iain@orangesquash.org.uk>  Mon, 24 Sep 2018 09:34:20 +0100
+
 network-manager (1.12.2-0ubuntu4) cosmic; urgency=medium
 
   Cherry-pick fixes from debian:
diff --git a/debian/tests/nm b/debian/tests/nm
index e44728f2..a40be9e4 100755
--- a/debian/tests/nm
+++ b/debian/tests/nm
@@ -20,6 +20,10 @@ try:
 except ImportError:
     DBusTestCase = object  # dummy so that the class declaration works
 
+import gi
+
+gi.require_version('NetworkManager', '1.0')
+gi.require_version('NMClient', '1.0')
 from gi.repository import NetworkManager, NMClient, GLib
 
 sys.path.append(os.path.dirname(__file__))