From 36251335180e5e5c2b802a3956c2559e495cccef Mon Sep 17 00:00:00 2001 From: appel_c Date: Mon, 14 Apr 2025 13:09:46 +0200 Subject: [PATCH] wip fix typo in test async update --- tests/end-2-end/test_plotting_framework_e2e.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/end-2-end/test_plotting_framework_e2e.py b/tests/end-2-end/test_plotting_framework_e2e.py index b18a911f..3c6f825e 100644 --- a/tests/end-2-end/test_plotting_framework_e2e.py +++ b/tests/end-2-end/test_plotting_framework_e2e.py @@ -133,7 +133,7 @@ def test_async_plotting(qtbot, bec_client_lib, connected_client_gui_obj): # Wait for the scan to finish and the data to be available in history def _wait_for_scan_in_history(): # Get scan item from history - scan_item = client.history.get_by_scan_id(s.scan.scan_id) + scan_item = client.history.get_by_scan_id(status.scan.scan_id) return scan_item is not None qtbot.waitUntil(_wait_for_scan_in_history, timeout=7000)