diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-01-30 13:06:56 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-02-03 16:23:50 +0000 |
commit | d1bae0ae839bea89f2797811b165150c9b6285ab (patch) | |
tree | c2b0f85977b42c857e5dfcb7ddb700296dcd94f5 /tests | |
parent | 8083503553ee039f7a203c9a5db00b61c0bda3a9 (diff) |
Remove A.I.ExternalPasswordStorage, CM.I.AccountStorage
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33485
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=44512
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69600
Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/twisted/mctest.py | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/tests/twisted/mctest.py b/tests/twisted/mctest.py index 2229525b..549a742c 100644 --- a/tests/twisted/mctest.py +++ b/tests/twisted/mctest.py @@ -1000,15 +1000,13 @@ class SimulatedClient(object): class SimulatedConnectionManager(object): def __init__(self, q, bus, cm_name='fakecm', - protocol_names=['fakeprotocol'], - has_account_storage=False): + protocol_names=['fakeprotocol']): self.q = q self.bus = bus self.cm_name = cm_name self.bus_name = '.'.join([cs.CM, cm_name]) self._bus_name_ref = dbus.service.BusName(self.bus_name, self.bus) self.object_path = '/' + self.bus_name.replace('.', '/') - self.has_account_storage = has_account_storage self.protocol_names = list(protocol_names) q.add_dbus_method_impl(self.GetAll_CM, @@ -1117,12 +1115,7 @@ class SimulatedConnectionManager(object): return ret def get_interfaces(self): - ret = dbus.Array([], signature='s') - - if self.has_account_storage: - ret.append(cs.CM_IFACE_ACCOUNT_STORAGE) - - return ret + return dbus.Array([], signature='s') def GetAll_CM(self, e): self.q.dbus_return(e.message, { |