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

Ján Tomko jtomko at redhat.com
Thu Mar 22 18:53:34 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
>

ACK, neat commit message

Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180322/910200a2/attachment-0001.sig>


More information about the libvir-list mailing list