def test_plugin_list(self): model = ObjectStore() model.append([PLUGIN]) plist = PluginListView() plist.set_model(model) with realized(plist): plist.select_by_plugin_id("foobar") plist.destroy()