Update tests/test_utils_opmsg.py
Run CI Tests / test (push) Successful in 2m2s

This commit is contained in:
2025-08-09 00:33:28 +02:00
parent c9426b9a8a
commit 8bc5f3c137
+4 -4
View File
@@ -79,8 +79,8 @@ class TestOperationMessageStatus:
@pytest.fixture
def status(self):
s = OperationMessageStatus("SF-OP:CR-MSG")
assert s.pv_date.wait_for_connection(timeout=1.0), "PV STATUS-DATE not connected"
assert s.pv_status.wait_for_connection(timeout=1.0), "PV STATUS not connected"
assert s.pv_date.wait_for_connection(timeout=2.0), "PV STATUS-DATE not connected"
assert s.pv_status.wait_for_connection(timeout=2.0), "PV STATUS not connected"
return s
def test_initialization_and_enum(self, status):
@@ -127,8 +127,8 @@ class TestOperationMessageEntry:
def entry(self, request):
idx = request.param
e = OperationMessageEntry("SF-OP:CR-MSG", idx)
assert e.pv_date.wait_for_connection(timeout=1.0), f"PV OP-DATE{idx} not connected"
assert e.pv_msg.wait_for_connection(timeout=1.0), f"PV OP-MSG{idx} not connected"
assert e.pv_date.wait_for_connection(timeout=2.0), f"PV OP-DATE{idx} not connected"
assert e.pv_msg.wait_for_connection(timeout=2.0), f"PV OP-MSG{idx} not connected"
return e
def test_initialization(self, entry):