Esempio n. 1
0
 def test_installedpane(self):
     win = windows.get_test_window_installedpane()
     self.addCleanup(win.destroy)
     pane = win.get_data("pane")
     # ensure it visible
     self.assertTrue(pane.get_property("visible"))
     # ensure the treeview is there and has data
     do_events()
     self.assertTrue(len(pane.treefilter.get_model()) > 2)
Esempio n. 2
0
 def test_installedpane(self):
     win = windows.get_test_window_installedpane()
     self.addCleanup(win.destroy)
     pane = win.get_data("pane")
     # ensure it visible
     self.assertTrue(pane.get_property("visible"))
     # ensure the treeview is there and has data
     do_events()
     self.assertTrue(len(pane.treefilter.get_model()) > 2)
Esempio n. 3
0
 def test_installedpane(self):
     win = get_test_window_installedpane()
     self.addCleanup(win.destroy)
     installedpane = win.get_data("pane")
     do_events_with_sleep()
     installedpane.on_search_terms_changed(None, "the")
     do_events_with_sleep()
     model = installedpane.app_view.tree_view.get_model()
     len1 = len(model)
     installedpane.on_search_terms_changed(None, "nosuchsearchtermforsure")
     do_events_with_sleep()
     len2 = len(model)
     self.assertTrue(len2 < len1)
Esempio n. 4
0
 def setUp(self):
     win = get_test_window_installedpane()
     self.addCleanup(win.destroy)
     self.pane = win.get_data("pane")
Esempio n. 5
0
 def setUp(self):
     win = get_test_window_installedpane()
     self.addCleanup(win.destroy)
     self.pane = win.get_data("pane")