[Bug 34796] Implement ContactInfo
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Apr 29 18:57:51 CEST 2011
https://bugs.freedesktop.org/show_bug.cgi?id=34796
--- Comment #38 from Debarshi Ray <debarshi.ray at gmail.com> 2011-04-29 09:57:50 PDT ---
(In reply to comment #34)
> Review of attachment 46067 [details]:
>
> Just some tiny nitpicks:
>
> ::: tests/twisted/messages/contactinfo-request.py
> @@ +15,3 @@
> + for (name, parameters, value) in vcard:
> + if name == 'fn':
> + assert value[0] == 'Test User'
>
> Does servicetest.py in Idle have the assertEquals() etc. family of functions
> that are included in Gabble's version of servicetest.py?
It does. Fixed to use assertEquals.
> @@ +39,3 @@
> + call_async(q, conn, 'GetSelfHandle')
> + event = q.expect('dbus-return', method='GetSelfHandle')
> + self_handle = event.value[0]
>
> You can spell this as self_handle = conn.GetSelfHandle()
Done. What is the difference? I thought this would cause a synchronous DBus
call.
> @@ +51,3 @@
> + call_async(q, contact_info, 'RequestContactInfo', self_handle)
> + event = q.expect('dbus-error', method='RequestContactInfo')
> + assert event.name == SERVICE_BUSY
>
> Maybe you could comment this to explain that the test server alternates success
> and failure?
Done.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list