Skip to content

Commit 3c68244

Browse files
committed
Forgot to update tests
1 parent 5fee18c commit 3c68244

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

tests/client/contexts/test_fib.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -762,9 +762,9 @@ def test_fib_autotem_context_drift_correction_images(
762762
if has_project_name:
763763
metadata_dict["project_name"] = project_name
764764
if has_stage_position:
765-
stage_dict: dict[str, dict] = {"preparation": {}}
765+
stage_dict: dict[str, dict] = {"preparation_site": {}}
766766
if has_stage_values:
767-
stage_dict["preparation"] = {"x": 0.003}
767+
stage_dict["preparation_site"] = {"x": 0.003}
768768
metadata_dict["stage_info"] = stage_dict
769769
if has_site_info:
770770
context._site_info[lamella_num] = LamellaSiteInfo(**metadata_dict)
@@ -810,7 +810,8 @@ def test_fib_autotem_context_drift_correction_images(
810810
lamella_num = i + 1
811811
# The '_site_info' attribute should now be populated
812812
assert (
813-
context._site_info[lamella_num].stage_info.preparation.slot_number == 2
813+
context._site_info[lamella_num].stage_info.preparation_site.slot_number
814+
== 2
814815
)
815816

816817
# The output file should point to 'grid_2' for a positive x stage position

0 commit comments

Comments
 (0)