From 9021c1bd7e5bbce98af0024c005301b77b25d774 Mon Sep 17 00:00:00 2001 From: tligui_y Date: Sun, 3 Aug 2025 19:37:00 +0200 Subject: [PATCH] Update tests/test_utils_hastyepics.py --- tests/test_utils_hastyepics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_utils_hastyepics.py b/tests/test_utils_hastyepics.py index 21e83417..634c6bda 100644 --- a/tests/test_utils_hastyepics.py +++ b/tests/test_utils_hastyepics.py @@ -27,7 +27,7 @@ def test_motor_instantiation_fast_vs_epics(): assert m_fast is not None assert m_slow is not None - assert not m_fast.connected + assert not getattr(m_fast, 'connected', False) assert m_slow.connected assert (t1 - t0) < (t3 - t2)