From 99d74b02c7d3ff7eea51f59a2d67651aeab1297f Mon Sep 17 00:00:00 2001 From: Hector Fernandez Date: Wed, 15 Apr 2020 10:33:56 +0200 Subject: Added code scanner code after doing all tests. It waits for a valid code from the code scanner. --- test-cli/test/helpers/qrreader.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test-cli/test/helpers') diff --git a/test-cli/test/helpers/qrreader.py b/test-cli/test/helpers/qrreader.py index 1d3768b..0954a70 100644 --- a/test-cli/test/helpers/qrreader.py +++ b/test-cli/test/helpers/qrreader.py @@ -9,7 +9,8 @@ selector = selectors.DefaultSelector() qrdevice_list = [ "Honeywell Imaging & Mobility 1900", - "Manufacturer Barcode Reader" + "Manufacturer Barcode Reader", + "SM SM-2D PRODUCT HID KBW" ] @@ -117,4 +118,4 @@ class QRReader: #qr = QRReader() #if qr.openQR(): # print(qr.readQRasync(2)) -#qr.closeQR() \ No newline at end of file +#qr.closeQR() -- cgit v1.1