diff options
author | Scott Moser <smoser@brickies.net> | 2017-03-10 13:08:09 -0500 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2017-03-10 13:11:29 -0500 |
commit | df88d29ddf66057dd6912816cd8be2dc1c7fa443 (patch) | |
tree | b5d408885f87415823dc43aba9d48b211d6b1e02 /tox.ini | |
parent | 75a421521153cacd01f6e9df83096f82475e8b08 (diff) | |
download | vyos-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.ini | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |