diff options
author | Daniel Watkins <oddbloke@ubuntu.com> | 2020-10-05 13:22:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-05 11:22:55 -0600 |
commit | b4f1abf9a2470adf447d8032a56a0ee17947f929 (patch) | |
tree | 93315f9975549e74e3f1c1705ff0e6f8390144b6 /tox.ini | |
parent | 63313335eccb45df0d8eb43d8ed93d994b946ad2 (diff) | |
download | vyos-cloud-init-b4f1abf9a2470adf447d8032a56a0ee17947f929.tar.gz vyos-cloud-init-b4f1abf9a2470adf447d8032a56a0ee17947f929.zip |
tox.ini: add integration-tests testenv definition (#595)
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -137,6 +137,15 @@ passenv = HOME TRAVIS deps = -r{toxinidir}/integration-requirements.txt +[testenv:integration-tests] +basepython = python3 +commands = {envpython} -m pytest --log-cli-level=INFO {posargs:tests/integration_tests} +passenv = CLOUD_INIT_* +# test-requirements.txt is required for ./conftest.py to import successfully +deps = + -r{toxinidir}/integration-requirements.txt + -r{toxinidir}/test-requirements.txt + [pytest] # TODO: s/--strict/--strict-markers/ once xenial support is dropped testpaths = cloudinit tests/unittests |