From f77b46e08e43bdc653f6c7f6e84c0ad13666f7e9 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sat, 23 Mar 2024 08:50:38 +0100 Subject: Enforce self.details as a collection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: If34c1c7ff2d2b5e635b7a03cb8ba1572511bb5ff Signed-off-by: Cédric Ollivier (cherry picked from commit d33e1ce346faeedf4a4ce166feca871d2066a0e4) --- docker/core/Dockerfile | 2 +- tox.ini | 2 +- xtesting/core/pytest.py | 2 +- 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 -- cgit 1.2.3-korg