summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorvamahaja <vamahaja@redhat.com>2020-05-18 22:33:46 +0530
committervamahaja <vamahaja@redhat.com>2020-05-19 10:44:41 +0530
commitad0096424edb9197be8778d453752b63a2664c57 (patch)
tree5558ce1aaf7f6d1f038d235857035ec4163cc9f7 /tox.ini
parent1973d754eea4e1d2c56deb42d9fbcdfb1d1892c3 (diff)
[ConfigFix] Fix pytest version for 'functional3' environment
Pytest version '5.4.1' has regression issue where functions registered with 'TestCase.addCleanup' were not being called on test failures. Add fix in 'tox.ini' to upgrade pytest to >= 5.4.2 version for 'functional3' environment. Change-Id: I27c3356c995a50a8d5cc32d7aad958116bd2cd88 Signed-off-by: vamahaja <vamahaja@redhat.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index e581241..5bdc898 100644
--- a/tox.ini
+++ b/tox.ini
@@ -41,6 +41,7 @@ commands =
find . -type f -name "*.py[c|o]" -delete
python3 -m pip install --upgrade pip>=9.0.0 setuptools wheel
pip3 install \
+ pytest>=5.4.2 \
simplejson \
mock \
rtyaml \