def test_recommendations_lobby(self): win = get_test_window_recommendations(panel_type="lobby") child = win.get_children()[0] child.connect("size-allocate", self._on_size_allocate) self.addCleanup(win.destroy) GLib.timeout_add(TIMEOUT, Gtk.main_quit) Gtk.main()
def test_recommendations_details(self): win = get_test_window_recommendations(panel_type="details") self.addCleanup(win.destroy) GLib.timeout_add(TIMEOUT, Gtk.main_quit) Gtk.main()