aboutsummaryrefslogtreecommitdiffstats
path: root/functest/utils/env.py
diff options
context:
space:
mode:
Diffstat (limited to 'functest/utils/env.py')
-rw-r--r--functest/utils/env.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/functest/utils/env.py b/functest/utils/env.py
index aaa5beac..110164be 100644
--- a/functest/utils/env.py
+++ b/functest/utils/env.py
@@ -32,16 +32,9 @@ class Environment(object): # pylint: disable=too-few-public-methods
for key, value in six.iteritems(self.default_envs):
if key not in os.environ:
setattr(self, key, value)
- self._set_ci_run()
if 'CI_LOOP' not in os.environ:
self._set_ci_loop()
- def _set_ci_run(self):
- if getattr(self, "BUILD_TAG"):
- setattr(self, "IS_CI_RUN", True)
- else:
- setattr(self, "IS_CI_RUN", False)
-
def _set_ci_loop(self):
if (getattr(self, "BUILD_TAG") and
re.search("daily", getattr(self, "BUILD_TAG"))):