Update tests/test_utils_pv.py
Run CI Tests / test (push) Successful in 1m16s

This commit is contained in:
2025-08-08 21:09:27 +02:00
parent fd954d30f3
commit 24d88eef98
+2 -2
View File
@@ -67,7 +67,7 @@ def strip_ansi(text):
def test_put_with_progress_and_repr(value_new, value_before, show_bar, expected_color):
pv = PV("TEST:VAL", connection_timeout=2.0)
assert pv.wait_for_connection(), "PV not connected"
assert pv.wait_for_connection(timeout=None), "PV not connected"
pv.put(value_before)
assert pv.get() == value_before
@@ -115,7 +115,7 @@ def test_put_with_progress_and_repr(value_new, value_before, show_bar, expected_
def test_use_callback_context_manager():
pv = PV("TEST:VAL", connection_timeout=2.0)
assert pv.wait_for_connection(timeout=2.0), "PV not connected"
assert pv.wait_for_connection(timeout=None), "PV not connected"
pv.put(0.0)
seen_values = []