[libvirt] [dbus PATCH v2 04/17] tests: rename test_* functions which are not tests

Pavel Hrdina phrdina at redhat.com
Fri Jun 15 03:35:30 UTC 2018


On Thu, Jun 14, 2018 at 05:59:40PM +0200, Katerina Koukiou wrote:
> pytest collects functions starting with test prefix
> to run them as tests by default.
> 
> Rename functions that are not supposed to be run as tests,
> to avoid unexpected failures.
> 
> Note: this commit also renames domain function to follow
> the naming convention for same purpose functions.
> 
> Signed-off-by: Katerina Koukiou <kkoukiou at redhat.com>
> ---
>  tests/libvirttest.py  |  6 +++---
>  tests/test_connect.py |  6 +++---
>  tests/test_domain.py  | 20 ++++++++++----------
>  tests/test_network.py | 14 +++++++-------
>  tests/test_storage.py | 22 +++++++++++-----------
>  5 files changed, 34 insertions(+), 34 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- 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/20180615/a61e48e7/attachment-0001.sig>


More information about the libvir-list mailing list