Merge "Skip Nova API attribute tests if an XML response"
diff --git a/tempest/api/compute/base.py b/tempest/api/compute/base.py
index e9b9efa..ed63f24 100644
--- a/tempest/api/compute/base.py
+++ b/tempest/api/compute/base.py
@@ -187,6 +187,13 @@
raise exceptions.InvalidHttpSuccessCode(msg)
response_schema = schema.get('response_body')
if response_schema:
+ if cls._interface == 'xml':
+ # NOTE: xml client of Tempest is broken and cannot get some
+ # keys. The best way is to fix it, but now xml format has been
+ # marked as "deprecated" in Nova API and xml client will be
+ # removed from Tempest.
+ # So now this test does not check attributes if xml.
+ return
try:
jsonschema.validate(body, response_schema)
except jsonschema.ValidationError as ex: