mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2025-01-05 03:28:54 +00:00
Don't leak extra mock service when running python tests
* Were erroneously starting the mock service when loading the python test modules, although already started in setUp()
This commit is contained in:
parent
1e697f6796
commit
268f2dfd62
@ -5,8 +5,6 @@ import unittest
|
|||||||
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
|
||||||
|
|
||||||
Mock.start("mock-service-normal.py")
|
|
||||||
|
|
||||||
STORE_SCHEMA = Secret.Schema.new("org.mock.Schema",
|
STORE_SCHEMA = Secret.Schema.new("org.mock.Schema",
|
||||||
Secret.SchemaFlags.NONE,
|
Secret.SchemaFlags.NONE,
|
||||||
{
|
{
|
||||||
|
@ -5,8 +5,6 @@ import unittest
|
|||||||
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
|
||||||
|
|
||||||
Mock.start("mock-service-normal.py")
|
|
||||||
|
|
||||||
STORE_SCHEMA = Secret.Schema.new("org.mock.Schema",
|
STORE_SCHEMA = Secret.Schema.new("org.mock.Schema",
|
||||||
Secret.SchemaFlags.NONE,
|
Secret.SchemaFlags.NONE,
|
||||||
{
|
{
|
||||||
|
@ -5,8 +5,6 @@ import unittest
|
|||||||
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
|
||||||
|
|
||||||
Mock.start("mock-service-normal.py")
|
|
||||||
|
|
||||||
STORE_SCHEMA = Secret.Schema.new("org.mock.Schema",
|
STORE_SCHEMA = Secret.Schema.new("org.mock.Schema",
|
||||||
Secret.SchemaFlags.NONE,
|
Secret.SchemaFlags.NONE,
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user