[v5,02/20] Acceptance tests: improve docstring on pick_default_qemu_bin()
diff mbox series

Message ID 20190312171824.5134-3-crosa@redhat.com
State New
Headers show
  • Acceptance Tests: target architecture support
Related show

Commit Message

Cleber Rosa March 12, 2019, 5:18 p.m. UTC
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>
 tests/acceptance/avocado_qemu/__init__.py | 4 ++++
 1 file changed, 4 insertions(+)

diff mbox series

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,