Merge: nixos test driver: drop wrong assertion (#431708)

authored by Maximilian Bosch and committed by GitHub 4d9b5532 76e9d22f

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