diff options
author | Daniel Watkins <oddbloke@ubuntu.com> | 2020-03-10 13:26:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-10 11:26:05 -0600 |
commit | 986f37b017134ced5d9dd38b420350916297002b (patch) | |
tree | 59fe191bbc8641a14d60f37499412912ba824443 /tools/tox-venv | |
parent | 71af48df3514ca831c90b77dc71ba0a121dec401 (diff) | |
download | vyos-cloud-init-986f37b017134ced5d9dd38b420350916297002b.tar.gz vyos-cloud-init-986f37b017134ced5d9dd38b420350916297002b.zip |
cloudinit: move to pytest for running tests (#211)
As the nose docs[0] themselves note, it has been in maintenance mode for the past several years. pytest is an actively developed, featureful and popular alternative that the nose docs themselves recommend. See [1] for more details about the thinking here.
(This PR also removes stale tox definitions, instead of modifying them.)
[0] https://nose.readthedocs.io/en/latest/
[1] https://lists.launchpad.net/cloud-init/msg00245.html
Diffstat (limited to 'tools/tox-venv')
-rwxr-xr-x | tools/tox-venv | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tox-venv b/tools/tox-venv index a5d21625..9dd02460 100755 --- a/tools/tox-venv +++ b/tools/tox-venv @@ -116,7 +116,7 @@ Usage: ${0##*/} [--no-create] tox-environment [command [args]] be read from tox.ini. This allows you to do: tox-venv py27 - tests/some/sub/dir and have the 'command' read correctly and have that execute: - python -m nose tests/some/sub/dir + python -m pytest tests/some/sub/dir EOF if [ -f "$tox_ini" ]; then |