def testFocusTable(self): self.runDemo('Builder') focus.window('GtkBuilder demo') focus.table('') self.assert_(isinstance(focus.widget.node, tree.Node)) self.assertEquals(focus.widget.node.role, pyatspi.ROLE_TABLE)
def test_focus_table(self): self.runDemo('Builder') focus.table('') self.assertTrue(isinstance(focus.widget.node, tree.Node)) self.assertEqual(focus.widget.node.role, pyatspi.ROLE_TABLE)