Apply 5 suggestion(s) to 2 file(s)

Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
This commit is contained in:
Joe Knapper 2025-04-17 08:43:51 +00:00
parent c18667c973
commit 871cab72f4
2 changed files with 21 additions and 15 deletions

View file

@ -263,12 +263,10 @@ def test_example_smart_spiral():
"lobed",
"core",
]
for sample_type in example_samples:
_, planner = scan_test_helpers.example_smart_spiral(sample=sample_type)
for sample_name in example_samples:
_, planner = scan_test_helpers.example_smart_spiral(sample_name)
expected_planner = (
scan_test_helpers.get_expected_result_for_example_smart_spiral(
sample=sample_type
)
scan_test_helpers.get_expected_result_for_example_smart_spiral(sample_name)
)
assert planner.path_history == expected_planner.path_history
assert planner.imaged_locations == expected_planner.imaged_locations