libsecret: Get rid of PyGI warnings about unspecified versions

https://bugzilla.gnome.org/show_bug.cgi?id=687637
This commit is contained in:
Dmitry Shachnev 2016-04-06 10:40:20 +02:00 committed by Stef Walter
parent cdf7b1cf2b
commit ae5761cd65
3 changed files with 12 additions and 0 deletions

View File

@ -14,6 +14,10 @@
import sys import sys
import unittest 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 MockService as Mock
from gi.repository import Secret, GLib from gi.repository import Secret, GLib

View File

@ -13,6 +13,10 @@
import unittest 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 MockService as Mock
from gi.repository import Secret, GLib from gi.repository import Secret, GLib

View File

@ -13,6 +13,10 @@
import unittest 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 MockService as Mock
from gi.repository import Secret, GLib from gi.repository import Secret, GLib