From 7c8b4191b454cdd5a52202d0fc9bb530036d56e8 Mon Sep 17 00:00:00 2001 From: Daniel Watkins Date: Thu, 18 Feb 2021 12:01:01 -0500 Subject: [PATCH] integration_tests: fix use of SSH agent within tox We need to allow the SSH_AUTH_SOCK environment variable through for paramiko to be able to find the agent. --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 5cb999bd58a..b359bb98743 100644 --- a/tox.ini +++ b/tox.ini @@ -147,13 +147,13 @@ deps = [testenv:integration-tests] basepython = python3 commands = {envpython} -m pytest --log-cli-level=INFO {posargs:tests/integration_tests} -passenv = CLOUD_INIT_* +passenv = CLOUD_INIT_* SSH_AUTH_SOCK deps = -r{toxinidir}/integration-requirements.txt [testenv:integration-tests-ci] commands = {envpython} -m pytest --log-cli-level=INFO {posargs:tests/integration_tests} -passenv = CLOUD_INIT_* +passenv = CLOUD_INIT_* SSH_AUTH_SOCK deps = -r{toxinidir}/integration-requirements.txt setenv =