This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user