[osinfo-db PATCH 0/4] RFC: Add basic tests for osinfo-db

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

 



This series introduces 3 basic tests for osinfo-db that currently are
part of libosinfo.

The tests chosen for this initial work are the test-*.uris. The
short-term plan is to move test-isodetect here as well, removing them
the need of updating libosinfo tests for each new entry added to
osinfo-db.

As osinfo-db doesn't rely on autotools, some hacks have been in the
Makefile in order to keep one log file per test.

Fabiano Fidêncio (4):
  Makefile: Split xmllint from check
  tests: Add media tests
  tests: Add tree tests
  tests: Add image tests

 .gitignore               |  5 ++-
 Makefile                 | 20 ++++++++--
 tests/unit/__init__.py   |  0
 tests/unit/osinfo.py     | 81 ++++++++++++++++++++++++++++++++++++++++
 tests/unit/test_image.py | 20 ++++++++++
 tests/unit/test_media.py | 20 ++++++++++
 tests/unit/test_tree.py  | 20 ++++++++++
 tests/unit/util.py       | 37 ++++++++++++++++++
 8 files changed, 199 insertions(+), 4 deletions(-)
 create mode 100644 tests/unit/__init__.py
 create mode 100644 tests/unit/osinfo.py
 create mode 100644 tests/unit/test_image.py
 create mode 100644 tests/unit/test_media.py
 create mode 100644 tests/unit/test_tree.py
 create mode 100644 tests/unit/util.py

-- 
2.20.1

_______________________________________________
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