From ad0096424edb9197be8778d453752b63a2664c57 Mon Sep 17 00:00:00 2001 From: vamahaja Date: Mon, 18 May 2020 22:33:46 +0530 Subject: [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 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index e5812417..5bdc8982 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 \ -- cgit