[elbe-devel] [PATCH v2 3/5] commands: test: Fix index error

Torben Hohn torben.hohn at linutronix.de
Wed Aug 19 11:31:45 CEST 2020


On Mon, Aug 17, 2020 at 09:49:18AM -0400, Olivier Dion wrote:
> result.unexpectedSuccesses returns a list of test cases, and not a
> list of tuple like the other attributes.
> 
> Signed-off-by: Olivier Dion <dion at linutronix.de>

Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>

> ---
>  elbepack/commands/test.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/elbepack/commands/test.py b/elbepack/commands/test.py
> index a1a5af59..2c84e2b3 100644
> --- a/elbepack/commands/test.py
> +++ b/elbepack/commands/test.py
> @@ -187,7 +187,7 @@ def run_command(argv):
>              fail_cnt += 1
>  
>          for us in result.unexpectedSuccesses:
> -            case.add_failure_info(message=us[1])
> +            case.add_failure_info(message=us)
>              err_cnt += 1
>  
>          for skip in result.skipped:
> -- 
> 2.28.0
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel

-- 
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99

Hinweise zum Datenschutz finden Sie hier (Informations on data privacy 
can be found here): https://linutronix.de/kontakt/Datenschutz.php

Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen | 
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700 
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner


More information about the elbe-devel mailing list