[telepathy-mission-control/master] tests: remove unused account_manager objects throughout

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Sep 15 08:51:04 PDT 2009


---
 test/twisted/account-manager/avatar.py             |    3 ---
 .../twisted/account-manager/create-auto-connect.py |    3 ---
 .../twisted/account-manager/enable-auto-connect.py |    3 ---
 test/twisted/account-manager/enable.py             |    3 ---
 test/twisted/account-manager/nickname.py           |    3 ---
 test/twisted/account-manager/presence.py           |    3 ---
 test/twisted/dispatcher/connect-for-request.py     |    3 ---
 .../twisted/dispatcher/request-disabled-account.py |    3 ---
 8 files changed, 0 insertions(+), 24 deletions(-)

diff --git a/test/twisted/account-manager/avatar.py b/test/twisted/account-manager/avatar.py
index b2ecc25..2b8ac03 100644
--- a/test/twisted/account-manager/avatar.py
+++ b/test/twisted/account-manager/avatar.py
@@ -26,9 +26,6 @@ from mctest import exec_test, create_fakecm_account, enable_fakecm_account
 import constants as cs
 
 def test(q, bus, mc):
-    account_manager = bus.get_object(cs.AM, cs.AM_PATH)
-    account_manager_iface = dbus.Interface(account_manager, cs.AM)
-
     params = dbus.Dictionary({"account": "me at example.com",
         "password": "secrecy"}, signature='sv')
     (cm_name_ref, account) = create_fakecm_account(q, bus, mc, params)
diff --git a/test/twisted/account-manager/create-auto-connect.py b/test/twisted/account-manager/create-auto-connect.py
index 3125d37..fa2cb47 100644
--- a/test/twisted/account-manager/create-auto-connect.py
+++ b/test/twisted/account-manager/create-auto-connect.py
@@ -26,9 +26,6 @@ from mctest import exec_test, create_fakecm_account
 import constants as cs
 
 def test(q, bus, mc):
-    account_manager = bus.get_object(cs.AM, cs.AM_PATH)
-    account_manager_iface = dbus.Interface(account_manager, cs.AM)
-
     params = dbus.Dictionary({"account": "smcv at example.com",
         "password": "secrecy"}, signature='sv')
     (cm_name_ref, account) = create_fakecm_account(q, bus, mc, params)
diff --git a/test/twisted/account-manager/enable-auto-connect.py b/test/twisted/account-manager/enable-auto-connect.py
index f3fb671..2cb91c3 100644
--- a/test/twisted/account-manager/enable-auto-connect.py
+++ b/test/twisted/account-manager/enable-auto-connect.py
@@ -26,9 +26,6 @@ from mctest import exec_test, create_fakecm_account
 import constants as cs
 
 def test(q, bus, mc):
-    account_manager = bus.get_object(cs.AM, cs.AM_PATH)
-    account_manager_iface = dbus.Interface(account_manager, cs.AM)
-
     params = dbus.Dictionary({"account": "smcv at example.com",
         "password": "secrecy"}, signature='sv')
     (cm_name_ref, account) = create_fakecm_account(q, bus, mc, params)
diff --git a/test/twisted/account-manager/enable.py b/test/twisted/account-manager/enable.py
index 18ad53e..50e489d 100644
--- a/test/twisted/account-manager/enable.py
+++ b/test/twisted/account-manager/enable.py
@@ -26,9 +26,6 @@ from mctest import exec_test, create_fakecm_account
 import constants as cs
 
 def test(q, bus, mc):
-    account_manager = bus.get_object(cs.AM, cs.AM_PATH)
-    account_manager_iface = dbus.Interface(account_manager, cs.AM)
-
     params = dbus.Dictionary({"account": "smcv at example.com",
         "password": "secrecy"}, signature='sv')
     (cm_name_ref, account) = create_fakecm_account(q, bus, mc, params)
diff --git a/test/twisted/account-manager/nickname.py b/test/twisted/account-manager/nickname.py
index 112cb14..f5bf2a7 100644
--- a/test/twisted/account-manager/nickname.py
+++ b/test/twisted/account-manager/nickname.py
@@ -26,9 +26,6 @@ from mctest import exec_test, create_fakecm_account, enable_fakecm_account
 import constants as cs
 
 def test(q, bus, mc):
-    account_manager = bus.get_object(cs.AM, cs.AM_PATH)
-    account_manager_iface = dbus.Interface(account_manager, cs.AM)
-
     params = dbus.Dictionary({"account": "wjt at example.com",
         "password": "secrecy"}, signature='sv')
     (cm_name_ref, account) = create_fakecm_account(q, bus, mc, params)
diff --git a/test/twisted/account-manager/presence.py b/test/twisted/account-manager/presence.py
index d7342c8..f4b309e 100644
--- a/test/twisted/account-manager/presence.py
+++ b/test/twisted/account-manager/presence.py
@@ -26,9 +26,6 @@ from mctest import exec_test, create_fakecm_account, enable_fakecm_account
 import constants as cs
 
 def test(q, bus, mc):
-    account_manager = bus.get_object(cs.AM, cs.AM_PATH)
-    account_manager_iface = dbus.Interface(account_manager, cs.AM)
-
     params = dbus.Dictionary({"account": "jc.denton at example.com",
         "password": "ionstorm"}, signature='sv')
     (cm_name_ref, account) = create_fakecm_account(q, bus, mc, params)
diff --git a/test/twisted/dispatcher/connect-for-request.py b/test/twisted/dispatcher/connect-for-request.py
index ebd0810..ca2d07d 100644
--- a/test/twisted/dispatcher/connect-for-request.py
+++ b/test/twisted/dispatcher/connect-for-request.py
@@ -27,9 +27,6 @@ from mctest import exec_test, create_fakecm_account, SimulatedConnection, \
 import constants as cs
 
 def test(q, bus, mc):
-    account_manager = bus.get_object(cs.AM, cs.AM_PATH)
-    account_manager_iface = dbus.Interface(account_manager, cs.AM)
-
     params = dbus.Dictionary({"account": "smcv at example.com",
         "password": "secrecy"}, signature='sv')
     (cm_name_ref, account) = create_fakecm_account(q, bus, mc, params)
diff --git a/test/twisted/dispatcher/request-disabled-account.py b/test/twisted/dispatcher/request-disabled-account.py
index 557edd8..325961d 100644
--- a/test/twisted/dispatcher/request-disabled-account.py
+++ b/test/twisted/dispatcher/request-disabled-account.py
@@ -27,9 +27,6 @@ from mctest import exec_test, create_fakecm_account, SimulatedConnection, \
 import constants as cs
 
 def test(q, bus, mc):
-    account_manager = bus.get_object(cs.AM, cs.AM_PATH)
-    account_manager_iface = dbus.Interface(account_manager, cs.AM)
-
     params = dbus.Dictionary({"account": "smcv at example.com",
         "password": "secrecy"}, signature='sv')
     (cm_name_ref, account) = create_fakecm_account(q, bus, mc, params)
-- 
1.5.6.5




More information about the telepathy-commits mailing list