Fix docstrings for creating methods in baremetal api tests
Change-Id: Iec39fbf4ceac9e7b697ddacc3eb9a4f1defb699e
diff --git a/ironic_tempest_plugin/tests/api/admin/base.py b/ironic_tempest_plugin/tests/api/admin/base.py
index e1d4e86..81b712c 100644
--- a/ironic_tempest_plugin/tests/api/admin/base.py
+++ b/ironic_tempest_plugin/tests/api/admin/base.py
@@ -152,7 +152,7 @@
:param description: A description of the chassis. If not supplied,
a random value will be generated.
- :return: Created chassis.
+ :return: A tuple with the server response and the created chassis.
"""
description = description or data_utils.rand_name('test-chassis')
@@ -171,7 +171,7 @@
:param cpus: Number of CPUs. Default: 8.
:param local_gb: Disk size. Default: 10.
:param memory_mb: Available RAM. Default: 4096.
- :return: Created node.
+ :return: A tuple with the server response and the created node.
"""
resp, body = cls.client.create_node(chassis_id, cpu_arch=cpu_arch,
@@ -191,7 +191,7 @@
:param extra: Meta data of the port. If not supplied, an empty
dictionary will be created.
:param uuid: UUID of the port.
- :return: Created port.
+ :return: A tuple with the server response and the created port.
"""
extra = extra or {}
@@ -206,7 +206,7 @@
"""Wrapper utility for creating test port groups.
:param node_uuid: The unique identifier of the node.
- :return: Created port group.
+ :return: A tuple with the server response and the created port group.
"""
resp, body = cls.client.create_portgroup(node_uuid=node_uuid, **kwargs)