Skip to content

Commit 1cb7cae

Browse files
committed
fix(mock_modbus_server): fix test, rename device_ids to devices
1 parent 450e769 commit 1cb7cae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/mock_modbus_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def run_async_server(self):
8686
store = ModbusDeviceContext(
8787
hr=ModbusSequentialDataBlock(0, [0]*3000),
8888
ir=ModbusSequentialDataBlock(0, [0]*3000))
89-
self.context = ModbusServerContext(device_ids=store, single=True)
89+
self.context = ModbusServerContext(devices=store, single=True)
9090

9191
# ----------------------------------------------------------------------- #
9292
# initialize the server information

0 commit comments

Comments
 (0)