[libsecret] libsecret: Get rid of PyGI warnings about unspecified versions
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsecret] libsecret: Get rid of PyGI warnings about unspecified versions
- Date: Thu, 7 Apr 2016 08:19:32 +0000 (UTC)
commit ae5761cd65b4f32e1b5f72f5b278fe21ab69f1c7
Author: Dmitry Shachnev <mitya57 gmail com>
Date: Wed Apr 6 10:40:20 2016 +0200
libsecret: Get rid of PyGI warnings about unspecified versions
https://bugzilla.gnome.org/show_bug.cgi?id=687637
libsecret/test-py-clear.py | 4 ++++
libsecret/test-py-lookup.py | 4 ++++
libsecret/test-py-store.py | 4 ++++
3 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/libsecret/test-py-clear.py b/libsecret/test-py-clear.py
index 5b5ac11..a398381 100644
--- a/libsecret/test-py-clear.py
+++ b/libsecret/test-py-clear.py
@@ -14,6 +14,10 @@
import sys
import unittest
+import gi
+gi.require_version('MockService', '0')
+gi.require_version('Secret', '1')
+
from gi.repository import MockService as Mock
from gi.repository import Secret, GLib
diff --git a/libsecret/test-py-lookup.py b/libsecret/test-py-lookup.py
index c701043..81519df 100644
--- a/libsecret/test-py-lookup.py
+++ b/libsecret/test-py-lookup.py
@@ -13,6 +13,10 @@
import unittest
+import gi
+gi.require_version('MockService', '0')
+gi.require_version('Secret', '1')
+
from gi.repository import MockService as Mock
from gi.repository import Secret, GLib
diff --git a/libsecret/test-py-store.py b/libsecret/test-py-store.py
index 8362d84..d5eb939 100644
--- a/libsecret/test-py-store.py
+++ b/libsecret/test-py-store.py
@@ -13,6 +13,10 @@
import unittest
+import gi
+gi.require_version('MockService', '0')
+gi.require_version('Secret', '1')
+
from gi.repository import MockService as Mock
from gi.repository import Secret, GLib
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]