diff options
author | Scott Moser <smoser@ubuntu.com> | 2018-03-23 13:51:17 -0600 |
---|---|---|
committer | Chad Smith <chad.smith@canonical.com> | 2018-03-23 13:51:17 -0600 |
commit | 68d798bb793052f589a7e48c508aca9031c7e271 (patch) | |
tree | c40e681e776741218685eecb5de9d419883ae90a /tox.ini | |
parent | 0c2f1ea29abc88957d21f56d432649989a8e4dfd (diff) | |
download | vyos-cloud-init-68d798bb793052f589a7e48c508aca9031c7e271.tar.gz vyos-cloud-init-68d798bb793052f589a7e48c508aca9031c7e271.zip |
tests: remove jsonschema from xenial tox environment.
Ubuntu 16.04 (xenial) does not have jsonschema installed by default. As
it is listed in requirements, the tox environment will always have it
installed.
Add the helper tools/pipremove that removes pip packages. Then use that
to remove jsonschema without noise of always running and ignoring a
'pip uninstall jsonschema'.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -60,6 +60,9 @@ deps = sphinx commands = {envpython} -m sphinx {posargs:doc/rtd doc/rtd_html} [testenv:xenial] +commands = + python ./tools/pipremove jsonschema + python -m nose {posargs:tests/unittests cloudinit} basepython = python3 deps = # requirements |