Close device handler when it fails to connect
[netconf.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 8dc2cc583c72291275b48fc75d5d492732352b74..6848158aaade28de9a2df4d15ece6c262c40c5a6 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -5,15 +5,17 @@ envlist =
     docs-linkcheck
 skipsdist = true
 
-[testenv:docs]
+[testenv]
+passenv = http_proxy, HTTP_PROXY, https_proxy, HTTPS_PROXY, no_proxy, NO_PROXY
 basepython = python3
 deps = -rdocs/requirements.txt
+
+[testenv:docs]
+basepython = python3
 commands =
     sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
 
-# Disabled due to https://jira.linuxfoundation.org/plugins/servlet/desk/portal/2/IT-25351
-#[testenv:docs-linkcheck]
-#basepython = python3
-#deps = -rdocs/requirements.txt
-#commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
+[testenv:docs-linkcheck]
+basepython = python3
+commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck