You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by hu...@apache.org on 2024/03/23 19:31:05 UTC

(plc4x) branch develop updated: chore(plc4px): Remove manual test

This is an automated email from the ASF dual-hosted git repository.

hutcheb pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new 57a0f62353 chore(plc4px): Remove manual test
57a0f62353 is described below

commit 57a0f62353fd4f5c0b484b0fff9b0c1accb4f770
Author: Ben Hutcheson <be...@gmail.com>
AuthorDate: Sat Mar 23 20:30:54 2024 +0100

    chore(plc4px): Remove manual test
---
 plc4py/tests/unit/plc4py/drivers/modbus/test_modbus_connection.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/plc4py/tests/unit/plc4py/drivers/modbus/test_modbus_connection.py b/plc4py/tests/unit/plc4py/drivers/modbus/test_modbus_connection.py
index 4de9d42d76..109c9063b6 100644
--- a/plc4py/tests/unit/plc4py/drivers/modbus/test_modbus_connection.py
+++ b/plc4py/tests/unit/plc4py/drivers/modbus/test_modbus_connection.py
@@ -30,15 +30,15 @@ logger = logging.getLogger("testing")
 @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()