summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorScott Moser <smoser@brickies.net>2017-03-10 13:08:09 -0500
committerScott Moser <smoser@brickies.net>2017-03-10 13:11:29 -0500
commitdf88d29ddf66057dd6912816cd8be2dc1c7fa443 (patch)
treeb5d408885f87415823dc43aba9d48b211d6b1e02 /tox.ini
parent75a421521153cacd01f6e9df83096f82475e8b08 (diff)
downloadvyos-cloud-init-df88d29ddf66057dd6912816cd8be2dc1c7fa443.tar.gz
vyos-cloud-init-df88d29ddf66057dd6912816cd8be2dc1c7fa443.zip
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
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 7 insertions, 0 deletions
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