[Bug 42306] New: caps/tube-caps.py's caps assertions don't work

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 27 13:14:20 CEST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=42306

             Bug #: 42306
           Summary: caps/tube-caps.py's caps assertions don't work
    Classification: Unclassified
           Product: Telepathy
           Version: git master
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: gabble
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: jonny.lamb at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org


sorted({1:[...]}) = [1]

535439ebe90229c87dff5e unfortunately introduced an assertSameElements function
which doesn't remember that sorted() on a dict listifies it. Admittedly, I'm
not sure I knew that.

Anyway, we should fix it, as this passes:

assertSameElements({1: {'foo':'bar'}},
                   {1: {'baz':'cheese'}})

-- 
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