rbac - Fix vif_attach expected return values
Client vif_attach only return resp - not body.
On a system without policies enabled the test fail with
too maby values to unpack - which is confusing ...
Change-Id: I36bce09c9ffe31364d738809adabe65a3af8443f
diff --git a/ironic_tempest_plugin/tests/api/rbac_defaults/test_nodes.py b/ironic_tempest_plugin/tests/api/rbac_defaults/test_nodes.py
index 2625ac3..aab00fe 100644
--- a/ironic_tempest_plugin/tests/api/rbac_defaults/test_nodes.py
+++ b/ironic_tempest_plugin/tests/api/rbac_defaults/test_nodes.py
@@ -539,7 +539,7 @@
baremetal:node:vif:attach
"""
try:
- resp, body = self.reader_client.vif_attach(
+ resp = self.reader_client.vif_attach(
self.node['uuid'], 'vifid')
except lib_exc.NotFound as e:
resp = e.resp
@@ -1173,7 +1173,7 @@
baremetal:node:vif:attach
"""
try:
- resp, body = self.reader_client.vif_attach(
+ resp = self.reader_client.vif_attach(
self.node['uuid'], 'vifid')
except lib_exc.Forbidden as e:
resp = e.resp