Closed addyess closed 1 year ago
Addressing https://github.com/charmed-kubernetes/pytest-operator/issues/92 and providing a way to not necessarily use the TOX_ENV_DIR to host temporary files.
TOX_ENV_DIR
There are circumstances when the juju snap needs to write files, but cannot use the TOX_ENV_DIR path because it's not under the user's $HOME directory.
juju
$HOME
This change will honor TMPDIR first before TOX_ENV_DIR
TMPDIR
Addressing https://github.com/charmed-kubernetes/pytest-operator/issues/92 and providing a way to not necessarily use the
TOX_ENV_DIR
to host temporary files.There are circumstances when the
juju
snap needs to write files, but cannot use theTOX_ENV_DIR
path because it's not under the user's$HOME
directory.This change will honor
TMPDIR
first beforeTOX_ENV_DIR