Skip to content

Commit

Permalink
chore(plc4px): Remove manual test
Browse files Browse the repository at this point in the history
  • Loading branch information
hutcheb committed Mar 23, 2024
1 parent 45ffc58 commit 57a0f62
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@
@pytest.mark.asyncio
async def manual_test_plc_driver_modbus_connect():
driver_manager = PlcDriverManager()
async with driver_manager.connection("modbus://127.0.0.1:5555") as connection:
async with driver_manager.connection("modbus://1") as connection:
assert connection.is_connected()
assert not connection.is_connected()


@pytest.mark.asyncio
async def test_plc_driver_modbus_read():
async def manual_test_plc_driver_modbus_read():
driver_manager = PlcDriverManager()
async with driver_manager.connection("modbus://127.0.0.1:5555") as connection:
async with driver_manager.connection("modbus://192.168.23.12:502") as connection:
with connection.read_request_builder() as builder:
builder.add_item("Random Tag", "4x00001[10]")
request = builder.build()
Expand Down

0 comments on commit 57a0f62

Please sign in to comment.