about summary refs log tree commit diff
path: root/debian/tests
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests')
-rwxr-xr-xdebian/tests/nm4
1 files changed, 4 insertions, 0 deletions
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__))