def main(): mpd_api = connect() mpd_api.update() app = QApplication(sys.argv) gui = gui_client(mpd_api) gui.show() app.exec_() mpd_api.disconnect()
def setUp(self): self.gui = gui_client(mpd_mock)