[Bug 26170] New: Tubes tests fail assertion about RequestableChannelClasses

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jan 22 16:47:36 CET 2010


http://bugs.freedesktop.org/show_bug.cgi?id=26170

           Summary: Tubes tests fail assertion about
                    RequestableChannelClasses
           Product: Telepathy
           Version: git master
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: high
         Component: gabble
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: simon.mcvittie at collabora.co.uk


With current master (5b5e88df16ac072f9119991f1e143e84268db540) I'm getting
assertion failures in 5 tubes tests, all apparently because
RequestableChannelClasses doesn't have the contents these tests want.

The assertion that fails is tests/twisted/tubes/tubetestutil.py:89:

    # muc tubes channel (old API)
    assert ({cs.CHANNEL_TYPE: cs.CHANNEL_TYPE_TUBES,
             cs.TARGET_HANDLE_TYPE: cs.HT_ROOM,
             },
             [cs.TARGET_HANDLE, cs.TARGET_ID
             ]
            ) in properties.get('RequestableChannelClasses'),\
                     properties['RequestableChannelClasses']

This appears to be because Tubes ROOM channels now have ChannelType in the
allowed properties as well as in the fixed properties, which doesn't make
sense.

This, in turn, seems to be because the array of allowed properties isn't
correctly NULL-terminated. Patch soon.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the telepathy-bugs mailing list