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

Simon McVittie smcv at debian.org
Thu Aug 8 10:07:57 BST 2024


Control: severity -1 wishlist
Control: tags -1 + help

On Thu, 14 Dec 2023 at 23:47:51 +0100, Chris Hofstaedtler wrote:
> 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)

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



More information about the Pkg-freedesktop-maintainers mailing list