Message134431
Code of the test:
-----------------------------------------
class NotebookTest(unittest.TestCase):
def setUp(self):
support.root_deiconify()
self.nb = ttk.Notebook(padding=0)
self.child1 = ttk.Label()
self.child2 = ttk.Label()
self.nb.add(self.child1, text='a')
self.nb.add(self.child2, text='b')
def test_traversal(self):
self.nb.pack()
self.nb.wait_visibility()
self.nb.select(0)
support.simulate_mouse_click(self.nb, 5, 5)
self.nb.focus_force()
self.nb.event_generate('<Control-Tab>')
self.assertEqual(self.nb.select(), str(self.child2)) <~~~ HERE
...
----------------------------------------- |
|
Date |
User |
Action |
Args |
2011-04-26 00:01:09 | vstinner | set | recipients:
+ vstinner |
2011-04-26 00:01:09 | vstinner | set | messageid: <1303776069.41.0.205034979563.issue11925@psf.upfronthosting.co.za> |
2011-04-26 00:01:08 | vstinner | link | issue11925 messages |
2011-04-26 00:01:08 | vstinner | create | |
|