Enforce self.details as a collection 43/74543/2
authorCédric Ollivier <cedric.ollivier@orange.com>
Sat, 23 Mar 2024 07:50:38 +0000 (08:50 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Sat, 23 Mar 2024 09:17:52 +0000 (10:17 +0100)
Change-Id: If34c1c7ff2d2b5e635b7a03cb8ba1572511bb5ff
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit d33e1ce346faeedf4a4ce166feca871d2066a0e4)

docker/core/Dockerfile
tox.ini
xtesting/core/pytest.py

index 22f0e0b..0dde50a 100644 (file)
@@ -1,7 +1,7 @@
 FROM alpine:3.16
 
 ARG BRANCH=stable/yoga
-ARG OPENSTACK_TAG=stable/yoga
+ARG OPENSTACK_TAG=unmaintained/yoga
 
 RUN apk -U upgrade && \
     apk --no-cache add --update python3 py3-pip py3-wheel bash git mailcap libxml2 libxslt ansible && \
diff --git a/tox.ini b/tox.ini
index 4fc9f51..e5658b6 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -6,7 +6,7 @@ skipsdist = True
 usedevelop = True
 deps =
   -c{toxinidir}/upper-constraints.txt
-  -chttps://opendev.org/openstack/requirements/raw/branch/stable/yoga/upper-constraints.txt
+  -chttps://opendev.org/openstack/requirements/raw/branch/unmaintained/yoga/upper-constraints.txt
   -r{toxinidir}/requirements.txt
   -r{toxinidir}/test-requirements.txt
 install_command = pip install {opts} {packages}
index 1dadf30..a47ab55 100644 (file)
@@ -90,7 +90,7 @@ class Pytest(testcase.TestCase):
             self.__logger.info(
                 "\n\n %s \n",
                 output.getvalue().splitlines()[-1].replace('=', ''))
-            self.details = Pytest.tests
+            self.details["tests"] = Pytest.tests
             if Pytest.passed + Pytest.failed:
                 self.result = Pytest.passed / (
                     Pytest.passed + Pytest.failed) * 100