Re: [PATCH osinfo-db 00/10] tests: misc improvements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/20/19 4:05 AM, Fabiano Fidêncio wrote:
On Tue, Mar 19, 2019 at 9:02 PM Cole Robinson <crobinso@xxxxxxxxxx> wrote:

This series is a handful of misc tests/ improvements

* Makes style generally pep8/pylint clean, at least with my local cfg
* Makes manual invocation of 'pytest-3' work
* Rearranges the internal API to cache our XML parsing to save some
   test time
* Reduce test_isoinfo full runtime by ~95%


For the whole series:
Reviewed-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx>

(And I'm pushing them soon ...)

Shouldn't we have a way to enforce pep8/pylint, at least with your
cfg, as part of the tests?

Thanks a lot for the whole work on this!


I wouldn't enforce it, most of the issues reported are non-functional, and releases regularly introduce new checks, I wouldn't want to be blocked by that. Maybe a 'make' target to cover running it though. flake-8 might be a better target for that though, pylint is more powerful but requires some hand holding over time. Considering that this is just test code we probably don't need to worry about pylint much, I just have a local setup that's easy to run

- Cole

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux