[LDTP-Dev] [Bug 654683] New: getallstates does not work with pyatspi2

LDTP (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jul 15 07:52:14 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=654683
  LDTP | ldtp2 | 2.0.0

           Summary: getallstates does not work with pyatspi2
    Classification: Other
           Product: LDTP
           Version: 2.0.0
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ldtp2
        AssignedTo: ldtp-dev at lists.freedesktop.org
        ReportedBy: michael.terry at canonical.com
         QAContact: ldtp-dev at lists.freedesktop.org
     GNOME version: ---


pyatspi2 changed how the keys in STATE_VALUE_TO_NAME are defined, which breaks
ldtp.getallstates().  Try that function on any widget and you'll just get blank
strings back.

Instead of using __repr__(), str() should be used.  Patch attached.

-- 
Configure bugmail: https://bugzilla.gnome.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 LDTP-dev mailing list