From 4dedc37c24f466bab8f4db4ac2e4bed215212fed Mon Sep 17 00:00:00 2001 From: Federico Ressi Date: Sat, 19 Jun 2021 16:39:56 +0000 Subject: [PATCH] Revert "Workaround for HOME env variable expansion problem in validations-libs 1.2.0" This reverts commit e6f8872aca5bb72e4e9387a16c83d2b49825bd1b. Reason for revert: the failing version has been excluded in openstack/requirements project. The future version of validations-libs will include the fix for this issue. Therefore this workaround is no more require and is preventing from detecting a regression of this bug. Change-Id: Ie0035e73efe48ca5927e793e07375d4b88eab5d3 --- tobiko/tripleo/validations.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/tobiko/tripleo/validations.py b/tobiko/tripleo/validations.py index 94ad9d088..8a75168f7 100644 --- a/tobiko/tripleo/validations.py +++ b/tobiko/tripleo/validations.py @@ -13,21 +13,14 @@ # under the License. from __future__ import absolute_import -import os - from oslo_log import log +from validations_libs import validation_actions from tobiko.tripleo import overcloud from tobiko.openstack import topology from tobiko.shell import sh -# Workaround for validations-libs 1.2.0 issue -# https://opendev.org/openstack/validations-libs/src/tag/1.2.0/validations_libs/constants.py#L25 -os.environ.setdefault('HOME', os.path.expanduser('~')) -from validations_libs import validation_actions # noqa - - LOG = log.getLogger(__name__)