[Libosinfo] [osinfo-db-tools PATCH] test_osinfo_db_path: Don't fail if OSINFO_*_DIR are set

Pino Toscano ptoscano at redhat.com
Tue Apr 30 09:50:43 UTC 2019


On Tuesday, 30 April 2019 11:46:05 CEST Fabiano Fidêncio wrote:
> In case OSINFO_{SYSTEM,DATA,USER}_DIR are set, let's just use those
> values in test_osinfo_db_path.py instead of the pre-defined ones.
> 
> Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
> ---

Wouldn't it better to unset the variables in the test, to make it more
stable w.r.t. the environment it runs in?

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20190430/08789812/attachment.sig>


More information about the Libosinfo mailing list