diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2012-08-29 18:29:54 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-09-27 18:35:16 +0100 |
commit | d999d85779c1accf219d3016226a8feaa36c9e22 (patch) | |
tree | cc997a9155cdd408d3cd4ca660bd7edbad087fca | |
parent | 90a3b33273dd4384ebf653c9ec4c7a5fbc752246 (diff) |
make-valid test: make connection object paths distinct
If these object paths are the same, the factory will use the same
TpConnection (even though they are actually different connections) and
dispatching will happen twice.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=55391
-rw-r--r-- | tests/twisted/account-manager/make-valid.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/twisted/account-manager/make-valid.py b/tests/twisted/account-manager/make-valid.py index 457229db..0fd54cd3 100644 --- a/tests/twisted/account-manager/make-valid.py +++ b/tests/twisted/account-manager/make-valid.py @@ -156,7 +156,7 @@ def test(q, bus, unused): interface=cs.tp_name_prefix + '.ConnectionManager', handled=False) - conn = SimulatedConnection(q, bus, 'fakecm', 'fakeprotocol', '_', + conn = SimulatedConnection(q, bus, 'fakecm', 'fakeprotocol', 'account1', 'myself', has_presence=True) q.dbus_return(e.message, conn.bus_name, conn.object_path, signature='so') @@ -208,7 +208,7 @@ def test(q, bus, unused): interface=cs.tp_name_prefix + '.ConnectionManager', handled=False) - conn = SimulatedConnection(q, bus, 'fakecm', 'fakeprotocol', '_', + conn = SimulatedConnection(q, bus, 'fakecm', 'fakeprotocol', 'account2', 'myself', has_presence=True) q.dbus_return(e.message, conn.bus_name, conn.object_path, signature='so') |