From 14bab3a30b3db0ca9f872109cfd7eba344ca5719 Mon Sep 17 00:00:00 2001 From: Robert Gildein Date: Wed, 17 Apr 2024 13:01:18 +0200 Subject: [PATCH] Add TEST_JUJU3 pass_env to tox .pkg env --- tox.ini | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tox.ini b/tox.ini index 323a9cd0..85167558 100644 --- a/tox.ini +++ b/tox.ini @@ -23,6 +23,11 @@ deps = -r{toxinidir}/test-requirements.txt commands = pytest --cov=./zaza/ {posargs} {toxinidir}/unit_tests +[testenv:.pkg] +pass_env = + # NOTE: This is required because tox>=4 will not pass env. See https://github.com/tox-dev/tox/issues/2543. + TEST_JUJU3 + [testenv:py3] basepython = python3