projects
/
platform
/
core
/
uifw
/
at-spi2-atk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2009-27-09 Mark Doffman <mark.doffman@codethink.co.uk>
[platform/core/uifw/at-spi2-atk.git]
/
tests
/
pyatspi
/
accessibletest.py
diff --git
a/tests/pyatspi/accessibletest.py
b/tests/pyatspi/accessibletest.py
index
d94e0af
..
6cd2cdd
100644
(file)
--- a/
tests/pyatspi/accessibletest.py
+++ b/
tests/pyatspi/accessibletest.py
@@
-110,9
+110,10
@@
class AccessibleTest(_PasyTest):
root = self._desktop.getChildAtIndex(0)
attr = root.getAttributes()
res = ["foo:bar", "baz:qux", "quux:corge"]
root = self._desktop.getChildAtIndex(0)
attr = root.getAttributes()
res = ["foo:bar", "baz:qux", "quux:corge"]
+ attr.sort()
+ res.sort()
test.assertEqual(attr, res, "Attributes expected %s, recieved %s" % (attr, res))
test.assertEqual(attr, res, "Attributes expected %s, recieved %s" % (attr, res))
-
def test_parent(self, test):
root = self._desktop.getChildAtIndex(0)
def test_parent(self, test):
root = self._desktop.getChildAtIndex(0)
@@
-151,7
+152,7
@@
class AccessibleTest(_PasyTest):
def test_getRole(self, test):
root = self._desktop.getChildAtIndex(0)
test.assertEqual(root.getRole(), 69,
def test_getRole(self, test):
root = self._desktop.getChildAtIndex(0)
test.assertEqual(root.getRole(), 69,
- "Expected role - \"69\". Recieved - \"%d\"" % (
root.getRole(
),))
+ "Expected role - \"69\". Recieved - \"%d\"" % (
int(root.getRole()
),))
def test_getRoleName(self, test):
root = self._desktop.getChildAtIndex(0)
def test_getRoleName(self, test):
root = self._desktop.getChildAtIndex(0)