Skip orchestration scenario tests if heat service not available
The orchestration scenario tests were not previously checking if the
heat service is available as configured in tempest.conf like the other
service-specific tests. This patch adds that check.
Closes-Bug: #1216335
Change-Id: I10c66adc1bab103b45e2d49d4f005618f2031052
diff --git a/tempest/scenario/manager.py b/tempest/scenario/manager.py
index 8290021..e93d9bc 100644
--- a/tempest/scenario/manager.py
+++ b/tempest/scenario/manager.py
@@ -574,6 +574,12 @@
"""
@classmethod
+ def setUpClass(cls):
+ super(OrchestrationScenarioTest, cls).setUpClass()
+ if not cls.config.service_available.heat:
+ raise cls.skipException("Heat support is required")
+
+ @classmethod
def credentials(cls):
username = cls.config.identity.admin_username
password = cls.config.identity.admin_password