#1058707 accountsservice: run build-time testsuite in verbose mode

#1058707#5
Date:
2023-12-14 22:47:51 UTC
From:
To:
Hi,

accountsservice runs tests during its build.
However it apparently runs pytest with its default settings, where
pytest helpfully strips long lines.

Example [1]:
| AssertionError: (expiration_time=9223372036854775807, last[127 chars]ck=0) != (9223372036854775807, 1700064268, 0, 0, 0, 0)


I think pytest tries to cut out only "irrelevant" info, but the
heuristics do not always do the right thing.

Please consider running pytest with, I think, -v.
This should avoid the cut outs.


Chris


[1] from https://buildd.debian.org/status/fetch.php?pkg=accountsservice&arch=arm64&ver=23.13.9-5&stamp=1700064280&raw=0

#1058707#10
Date:
2024-08-08 09:07:57 UTC
From:
To:
Control: severity -1 wishlist
Control: tags -1 + help

It's unittest (from the Python standard library), not pytest, and
unfortunately I couldn't find a way to make unittest's assertions not
do this: it seems to be hard-coded.

    smcv