def setUp(self) -> None: self.app = QtWidgets.QApplication(sys.argv) self.terminal_example = terminal.OstrannaTerminal() self.terminal_example.file_to_send = \ r'C:\Users\juice\Downloads\PycharmProjects\OstrannaTerminal\Ostranna_Logo.ico' self.terminal_example.text_settings = data_types.TextSettings() self.terminal_example.port_settings = data_types.ComSettings()
def setUp(self): self.app = QtWidgets.QApplication(sys.argv) self.terminal_example = terminal.OstrannaTerminal() self.terminal_example.CBSTM.setChecked(True) self.terminal_example.CBNRF.setChecked(False) self.terminal_example.text_settings.show_sent = True self.terminal_example.CBRepeat.setChecked(False) self.terminal_example.CBRepeat.setChecked(False)
def terminal_example(): terminal_ex = terminal.OstrannaTerminal() terminal_ex.text_settings = data_types.TextSettings() terminal_ex.port_settings = data_types.ComSettings() terminal_ex.CBSTM.setChecked(True) terminal_ex.CBNRF.setChecked(False) terminal_ex.CBPorts.setCurrentIndex(0) terminal_ex.BtnConnect.click() yield terminal_ex terminal_ex.destroy()
def setUp(self): self.app = QtWidgets.QApplication(sys.argv) self.terminal_example = terminal.OstrannaTerminal()
def setUp(self): self.app = QtWidgets.QApplication(sys.argv) self.terminal_example = terminal.OstrannaTerminal() self.terminal_example.CBSTM.setChecked(True) self.terminal_example.CBNRF.setChecked(False)
def setUp(self): self.app = QtWidgets.QApplication(sys.argv) self.terminal_example = terminal.OstrannaTerminal() self.terminal_example.load_settings("Settings_for_test.json")
def setUp(self) -> None: self.app = QtWidgets.QApplication(sys.argv) self.terminal_example = terminal.OstrannaTerminal() self.terminal_example.load_macros("Macros_test.json")
def setUp(self): self.app = QtWidgets.QApplication(sys.argv) self.terminal_example = terminal.OstrannaTerminal() self.terminal_example.text_settings = data_types.TextSettings() self.terminal_example.port_settings = data_types.ComSettings()