From e3991aae706256a23e1c4dc2a28452fafc6e8635 Mon Sep 17 00:00:00 2001 From: davidpablocohn Date: Sun, 2 Jun 2024 15:54:55 -0700 Subject: [PATCH] #373 --- test/logger/writers/test_serial_writer.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/logger/writers/test_serial_writer.py b/test/logger/writers/test_serial_writer.py index 74358f2f..ad859645 100755 --- a/test/logger/writers/test_serial_writer.py +++ b/test/logger/writers/test_serial_writer.py @@ -71,7 +71,8 @@ def setUp(self): # self.sim_serial = SimSerial(port=self.tmp_port_name, filebase=self.dummy_filebase) def _run_reader(self, port): - reader = SerialReader(port) + logging.info(f'started _run_reader on port {port}') + reader = SerialReader(port, baudrate=9600) for line in SAMPLE_DATA.split('\n'): result = reader.read() logging.info('data: %s, read: %s', line, result) @@ -102,7 +103,8 @@ def test_write(self): time.sleep(0.1) def _run_writer(): - writer = SerialWriter(port=write_port) + logging.info(f'started _run_writer on port {write_port}') + writer = SerialWriter(port=write_port, baudrate=9600) for line in SAMPLE_DATA.split('\n'): writer.write(line) logging.info('wrote: %s', line)