From 7afe110797a98858991ec1b4c850724c9ab154f4 Mon Sep 17 00:00:00 2001 From: Ryan Herbst Date: Thu, 7 Oct 2021 13:18:19 -0700 Subject: [PATCH] Add delay to test --- tests/test_epics.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_epics.py b/tests/test_epics.py index a5b1d6eca..b37c92924 100644 --- a/tests/test_epics.py +++ b/tests/test_epics.py @@ -79,11 +79,13 @@ def test_local_root(): # Test list method root.epics.list() + time.sleep(1) # Test RW a variable holding an scalar value pv_name=device_epics_prefix+':var' test_value=314 caput(pv_name, test_value) + time.sleep(1) test_result=caget(pv_name) if test_result != test_value: raise AssertionError('pv_name={}: test_value={}; test_result={}'.format(\ @@ -93,6 +95,7 @@ def test_local_root(): pv_name=device_epics_prefix+':var_float' test_value=5.67 caput(pv_name, test_value) + time.sleep(1) test_result=round(caget(pv_name),2) if test_result != test_value: raise AssertionError('pv_name={}: test_value={}; test_result={}'.format(\