Add new tests new scan directory function and for scan data serialisation

This commit is contained in:
Julian Stirling 2025-08-03 16:42:38 +01:00
parent 6ceb1a9845
commit 573fc20dec
4 changed files with 209 additions and 6 deletions

View file

@ -324,7 +324,7 @@ class SmartScanThing(lt.Thing):
Takes scan_result, a string that is either "success", "cancelled by user",
or the error that ended the scan.
"""
self.scan_data.set_final_data(
self._scan_data.set_final_data(
result=scan_result,
final_image_count=self._scan_images_taken,
)