diff options
author | Cleber Rosa <crosa@redhat.com> | 2019-03-12 13:18:06 -0400 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2019-05-02 21:33:26 -0300 |
commit | 45c01bd926ec072a9ec54b2fdd780917dd7786b5 (patch) | |
tree | de259f2c09f4845eb6cf67ada8d1d70aa6b61a80 | |
parent | 59692a1238f7f1e0afa85f67ae15a664f786ece0 (diff) | |
download | qemu-45c01bd926ec072a9ec54b2fdd780917dd7786b5.zip |
tests/acceptance: improve docstring on pick_default_qemu_bin()
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>
-rw-r--r-- | tests/acceptance/avocado_qemu/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/acceptance/avocado_qemu/__init__.py b/tests/acceptance/avocado_qemu/__init__.py index a66ec72daa..b7c5d598d8 100644 --- a/tests/acceptance/avocado_qemu/__init__.py +++ b/tests/acceptance/avocado_qemu/__init__.py @@ -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, |