def create_pitivi(**settings): app = Pitivi() app._setup() app.gui = mock.Mock() app.gui.editor.viewer.action_group = Gio.SimpleActionGroup() app.settings = __create_settings(**settings) app.gui.editor.editor_state = EditorState(app.project_manager) return app
def create_pitivi(**settings): app = Pitivi() app._setup() app.gui = mock.Mock() app.settings = __create_settings(**settings) return app