nixos test driver: drop wrong assertion

Changed files
+1 -4
nixos
lib
test-driver
src
test_driver
machine
+1 -4
nixos/lib/test-driver/src/test_driver/machine/ocr.py
···
Perform OCR on a screenshot that contains text.
Returns a string with all words that could be found.
"""
-
variants = perform_ocr_variants_on_screenshot(screenshot_path, False)[0]
-
if len(variants) != 1:
-
raise MachineError(f"Received wrong number of OCR results: {len(variants)}")
-
return variants[0]
+
return perform_ocr_variants_on_screenshot(screenshot_path, False)[0]
def perform_ocr_variants_on_screenshot(