Do not use fixture salt_deployed where it is not needed
Closes-Bug: #PROD-30630
Change-Id: Ib6126a4589f861a1ca8aa0f69691c3862daf81fe
diff --git a/tcp_tests/managers/envmanager_heat.py b/tcp_tests/managers/envmanager_heat.py
index d6d7e90..9ee26a6 100644
--- a/tcp_tests/managers/envmanager_heat.py
+++ b/tcp_tests/managers/envmanager_heat.py
@@ -389,6 +389,12 @@
:name: string
"""
+ if not settings.MAKE_SNAPSHOT_STAGES:
+ msg = ("[ SKIP snapshot '{0}' because MAKE_SNAPSHOT_STAGES=false ]"
+ .format(name))
+ LOG.info("\n\n{0}\n{1}".format(msg, '*' * len(msg)))
+ return
+
LOG.info("Store INI config (without env snapshot) named '{0}'"
.format(name))
self.__config.hardware.current_snapshot = name