Merge "Skip integration tests when not configured"
diff --git a/api/test_heat_api.py b/api/test_heat_api.py
index 1b57137..2e219e7 100644
--- a/api/test_heat_api.py
+++ b/api/test_heat_api.py
@@ -30,6 +30,9 @@
     test_dir = os.path.join(os.path.dirname(__file__), TESTS_DIR)
 
     conf = config.CONF.heat_plugin
+    if conf.auth_url is None:
+        # It's not configured, let's not load tests
+        return
     manager = clients.ClientManager(conf)
     endpoint = manager.identity_client.get_endpoint_url(
         'orchestration', conf.region)