mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 12:48:51 +00:00
libsecret: Get rid of PyGI warnings about unspecified versions
https://bugzilla.gnome.org/show_bug.cgi?id=687637
This commit is contained in:
parent
cdf7b1cf2b
commit
ae5761cd65
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user