[libvirt] [dbus PATCH v2] Convert testsuite from unittest to pytest

Pavel Hrdina phrdina at redhat.com
Fri Mar 23 11:59:16 UTC 2018


On Thu, Mar 22, 2018 at 07:22:40PM +0100, Katerina Koukiou wrote:
> Move to pytest to take advantage of:
>  * tests parametrization
>  * pdb support
>  * more compact tests - not forcing large test classes
> 
> Signed-off-by: Katerina Koukiou <kkoukiou at redhat.com>
> ---
>  HACKING.md           |  2 +-
>  test/Makefile.am     |  7 ++++---
>  test/conftest.py     | 15 +++++++++++++++
>  test/libvirttest.py  | 49 +++++++++++++++++++++++++++++--------------------
>  test/test_connect.py | 33 +++++++++++++++++----------------
>  test/test_domain.py  | 37 +++++++++++++++++++------------------
>  test/travis-run      |  2 +-
>  7 files changed, 86 insertions(+), 59 deletions(-)
>  create mode 100644 test/conftest.py

Thanks, pushed now.

Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180323/5fdfa4c3/attachment-0001.sig>


More information about the libvir-list mailing list