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