85
85
ui_factory.show_message('test')
86
86
self.assertIs(True, ui.InfoDialog.run.called)
90
MockMethod.bind(self, ui.WarningDialog, 'run', Gtk.ResponseType.CLOSE)
88
94
def test_get_password(self):
89
95
ui_factory = ui.GtkUIFactory()
90
96
MockMethod.bind(self, ui.PasswordDialog, 'run', Gtk.ResponseType.OK)