From d1d6cc7502069cf4f614ad12fb11c09f8cf373bd Mon Sep 17 00:00:00 2001 From: tligui_y Date: Tue, 5 Aug 2025 16:00:38 +0200 Subject: [PATCH] Update tests/test_utils_pv.py --- tests/test_utils_pv.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_utils_pv.py b/tests/test_utils_pv.py index 5bd3ae079..96d33b220 100644 --- a/tests/test_utils_pv.py +++ b/tests/test_utils_pv.py @@ -58,6 +58,9 @@ def capture_stdout(monkeypatch): def test_put_with_progress_and_repr(capture_stdout, value, expected_bar, expected_color): # Connect to the test PV using the custom slic PV class pv = PV("TEST:VAL") + + pv.wait_for_connection(timeout=2.0) + assert pv.connected # Set initial value to 0.0 pv.put(0.0, wait=True)