From 33b6cf29fc3a1286dc21c803754ccba221d67bb2 Mon Sep 17 00:00:00 2001 From: Daniel Watkins Date: Thu, 18 Feb 2021 17:49:54 -0500 Subject: integration_tests: fix use of SSH agent within tox (#815) 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 5cb999bd..b359bb98 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 = -- cgit v1.2.3