increase tes coverage

This commit is contained in:
Stefan Allius
2024-10-09 23:59:56 +02:00
parent e127716317
commit 18c3020282
2 changed files with 54 additions and 2 deletions

View File

@@ -77,7 +77,7 @@ class ModbusTcp():
logging.debug(f'Inv-conn:{error}')
except OSError as error:
if error.errno == 113:
if error.errno == 113: # pragma: no cover
logging.debug(f'os-error:{error}')
else:
logging.info(f'os-error: {error}')