summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJán Tomko <jtomko@redhat.com>2021-04-06 20:07:25 +0200
committerJán Tomko <jtomko@redhat.com>2021-04-07 17:09:54 +0200
commita376a2abb023f4e53e5d9d353c725913c8711c6e (patch)
tree045a117f5a2f981c0922ea0117b2d8a04ddd615b /tox.ini
parent98b9db087fe03b42bb58225a072b214d969ba443 (diff)
downloadlibvirt-python-a376a2abb023f4e53e5d9d353c725913c8711c6e.tar.gz
setup: use pytest instead of nose to run the test suite
The software we use for running tests - nose - has been deprecated in favor of nose2. We don't use anything nose-specific, just unittest.TestCase, which pytest can handle just fine. Switch to using pytest, which we already use for libvirt-dbus. Signed-off-by: Ján Tomko <jtomko@redhat.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index de683b9..24c96c2 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,7 +4,7 @@ envlist = py36,py37,py38
[testenv]
deps=
lxml
- nose
+ pytest
commands=
python sanitytest.py
- nosetests
+ pytest