def METHOD_NAME(line):
    if " tests ran" in line:
        result = [int(s) for s in line.split() if s.isdigit()]
        print("line is: " + line)
        print("result is: " + str(result))
        if len(result) == 2:
            azure_test_firmware_errors.SDK_ERRORS = result[0]
        else:
            azure_test_firmware_errors.SDK_ERRORS = result[1]        
        serial_settings.tests_run = True
        return False
    return True