]> git.proxmox.com Git - mirror_qemu.git/commitdiff
tests/acceptance: improve docstring on pick_default_qemu_bin()
authorCleber Rosa <crosa@redhat.com>
Tue, 12 Mar 2019 17:18:06 +0000 (13:18 -0400)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 3 May 2019 00:33:26 +0000 (21:33 -0300)
Making it clear what is returned by this utility function.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Caio Carrara <ccarrara@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20190312171824.5134-3-crosa@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
tests/acceptance/avocado_qemu/__init__.py

index a66ec72daa06c06e3d853e6f4160ae199b99fbbe..b7c5d598d8a9053a9a65c9f784a822835c188b0c 100644 (file)
@@ -27,6 +27,10 @@ def pick_default_qemu_bin():
     """
     Picks the path of a QEMU binary, starting either in the current working
     directory or in the source tree root directory.
+
+    :returns: the path to the default QEMU binary or None if one could not
+              be found
+    :rtype: str or None
     """
     arch = os.uname()[4]
     qemu_bin_relative_path = os.path.join("%s-softmmu" % arch,