diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2024-03-23 08:50:38 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2024-03-23 10:17:52 +0100 |
commit | f77b46e08e43bdc653f6c7f6e84c0ad13666f7e9 (patch) | |
tree | 8eff9a4b06da5b8444253fb3ecefddf464f5251d | |
parent | 2192196ad5476352599df786dab0db5604ef18aa (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/Dockerfile | 2 | ||||
-rw-r--r-- | tox.ini | 2 | ||||
-rw-r--r-- | 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 && \ @@ -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 |