summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Burke <tim.burke@gmail.com>2021-05-11 16:02:42 -0700
committerTim Burke <tim.burke@gmail.com>2021-05-11 16:02:42 -0700
commita21dc9f46fc59d8e9f720c5c003b4b65a1c124b1 (patch)
treeaf6fd9381a593a8cea4ab4a9f17f6a122d53f599
parenta7bf798b1000c037bcf9f54f4deb875aba08ce51 (diff)
downloadpyeclib-a21dc9f46fc59d8e9f720c5c003b4b65a1c124b1.tar.gz
Switch test runner from nose to pytest
Change-Id: I3c2518c5c9bfc0bf6ce58cdc82ddafb45c4c5d76
-rw-r--r--test-requirements.txt2
-rw-r--r--tox.ini2
2 files changed, 2 insertions, 2 deletions
diff --git a/test-requirements.txt b/test-requirements.txt
index 6d929e8..a7c7912 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -3,6 +3,6 @@
# process, which may cause wedges in the gate later.
coverage
-nose
+pytest
six>=1.9.0
sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3 # BSD
diff --git a/tox.ini b/tox.ini
index c8f003f..813c366 100644
--- a/tox.ini
+++ b/tox.ini
@@ -5,7 +5,7 @@ envlist = py{27,35,36,37,38,39}-compilelibs,pep8,docs
deps =
-r{toxinidir}/test-requirements.txt
commands=
- nosetests --no-path-adjustment -v test/
+ pytest -v test/
setenv = LIBERASURECODE_DIR={envdir}/liberasurecode
ISAL_DIR={envdir}/isa-l
JERASURE_DIR={envdir}/jerasure