Revert "Workaround for HOME env variable expansion problem in validations-libs 1.2.0"

This reverts commit e6f8872aca.

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
This commit is contained in:
Federico Ressi 2021-06-19 16:39:56 +00:00
parent e6f8872aca
commit 4dedc37c24

View File

@ -13,21 +13,14 @@
# under the License. # under the License.
from __future__ import absolute_import from __future__ import absolute_import
import os
from oslo_log import log from oslo_log import log
from validations_libs import validation_actions
from tobiko.tripleo import overcloud from tobiko.tripleo import overcloud
from tobiko.openstack import topology from tobiko.openstack import topology
from tobiko.shell import sh 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__) LOG = log.getLogger(__name__)