tiny-test-fw: add QEMU DUT

This commit is contained in:
Ivan Grokhotkov
2019-11-19 15:37:38 +01:00
committed by David Cermak
parent 259d43db83
commit 85c97967d5
3 changed files with 92 additions and 5 deletions

View File

@@ -766,7 +766,7 @@ class SerialDUT(BaseDUT):
return formatted_data
def _port_open(self):
self.port_inst = serial.Serial(self.port, **self.serial_configs)
self.port_inst = serial.serial_for_url(self.port, **self.serial_configs)
def _port_close(self):
self.port_inst.close()