aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2024-03-23 08:50:38 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2024-03-23 10:17:52 +0100
commitf77b46e08e43bdc653f6c7f6e84c0ad13666f7e9 (patch)
tree8eff9a4b06da5b8444253fb3ecefddf464f5251d
parent2192196ad5476352599df786dab0db5604ef18aa (diff)
Enforce self.details as a collection
Change-Id: If34c1c7ff2d2b5e635b7a03cb8ba1572511bb5ff Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit d33e1ce346faeedf4a4ce166feca871d2066a0e4)
-rw-r--r--docker/core/Dockerfile2
-rw-r--r--tox.ini2
-rw-r--r--xtesting/core/pytest.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile
index 22f0e0b2..0dde50a7 100644
--- a/docker/core/Dockerfile
+++ b/docker/core/Dockerfile
@@ -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 4fc9f519..e5658b64 100644
--- 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}
diff --git a/xtesting/core/pytest.py b/xtesting/core/pytest.py
index 1dadf300..a47ab551 100644
--- a/xtesting/core/pytest.py
+++ b/xtesting/core/pytest.py
@@ -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