From df88d29ddf66057dd6912816cd8be2dc1c7fa443 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Fri, 10 Mar 2017 13:08:09 -0500 Subject: tox: add a citest environment Because the tests/cloud_tests require specific version of pylxd adding a tox environment makes that much easier. Additionally it makes calling it at least a bit simpler. Example: tox -e citest -- run -v -n zesty --deb=cloud-init_all.deb --- tox.ini | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tox.ini b/tox.ini index ca5d8b87..f016f206 100644 --- a/tox.ini +++ b/tox.ini @@ -87,3 +87,10 @@ deps = pycodestyle [testenv:tip-pyflakes] commands = {envpython} -m pyflakes {posargs:cloudinit/ tests/ tools/} deps = pyflakes + +[testenv:citest] +basepython = python3 +commands = {envpython} -m tests.cloud_tests {posargs} +passenv = HOME +deps = + pylxd==2.1.3 -- cgit v1.2.3