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

Fabiano Fidêncio fidencio at redhat.com
Tue Apr 30 11:14:11 UTC 2019


On Tue, Apr 30, 2019 at 11:54 AM Pino Toscano <ptoscano at redhat.com> wrote:
>
> 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?

Makes sense. Just submitted a v2.

Best Regards,
-- 
Fabiano Fidêncio




More information about the Libosinfo mailing list