summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Watkins <oddbloke@ubuntu.com>2021-02-18 17:49:54 -0500
committerGitHub <noreply@github.com>2021-02-18 17:49:54 -0500
commit33b6cf29fc3a1286dc21c803754ccba221d67bb2 (patch)
treee5d31ace507793795aaf4a55159413d7a79020b3
parent28d2d4b86ebde5261fbe3a3ffb28292b2bbdbd76 (diff)
downloadvyos-cloud-init-33b6cf29fc3a1286dc21c803754ccba221d67bb2.tar.gz
vyos-cloud-init-33b6cf29fc3a1286dc21c803754ccba221d67bb2.zip
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.
-rw-r--r--tox.ini4
1 files 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 =