[libsecret] Don't leak extra mock service when running python tests



commit 268f2dfd62f6cb97b35d2d2e365ea13669e92175
Author: Stef Walter <stefw gnome org>
Date:   Wed Jun 27 07:41:46 2012 +0200

    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()

 library/tests/test-lookup-password.py |    2 --
 library/tests/test-remove-password.py |    2 --
 library/tests/test-store-password.py  |    2 --
 3 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/library/tests/test-lookup-password.py b/library/tests/test-lookup-password.py
index aa548aa..5e05e39 100644
--- a/library/tests/test-lookup-password.py
+++ b/library/tests/test-lookup-password.py
@@ -5,8 +5,6 @@ import unittest
 from gi.repository import MockService as Mock
 from gi.repository import Secret, GLib
 
-Mock.start("mock-service-normal.py")
-
 STORE_SCHEMA = Secret.Schema.new("org.mock.Schema",
 	Secret.SchemaFlags.NONE,
 	{
diff --git a/library/tests/test-remove-password.py b/library/tests/test-remove-password.py
index b7c770b..b587c9a 100644
--- a/library/tests/test-remove-password.py
+++ b/library/tests/test-remove-password.py
@@ -5,8 +5,6 @@ import unittest
 from gi.repository import MockService as Mock
 from gi.repository import Secret, GLib
 
-Mock.start("mock-service-normal.py")
-
 STORE_SCHEMA = Secret.Schema.new("org.mock.Schema",
 	Secret.SchemaFlags.NONE,
 	{
diff --git a/library/tests/test-store-password.py b/library/tests/test-store-password.py
index 8e0762b..a14b382 100644
--- a/library/tests/test-store-password.py
+++ b/library/tests/test-store-password.py
@@ -5,8 +5,6 @@ import unittest
 from gi.repository import MockService as Mock
 from gi.repository import Secret, GLib
 
-Mock.start("mock-service-normal.py")
-
 STORE_SCHEMA = Secret.Schema.new("org.mock.Schema",
 	Secret.SchemaFlags.NONE,
 	{



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]