From 29a155f7bb2f8be1935ba0de32aaf382b6cc677c Mon Sep 17 00:00:00 2001 From: Sebastian Gode Date: Thu, 19 Feb 2026 10:35:18 +0000 Subject: [PATCH] Added sustainability to ED (#73) Reviewed-on: https://gitea.eco.tsi-dev.otc-service.com/infra/otc-metadata-rework/pulls/73 Reviewed-by: Tino Schreiber Co-authored-by: Sebastian Gode Co-committed-by: Sebastian Gode --- otc_metadata/data/documents/ed-sustainability.yaml | 11 +++++++++++ test-requirements.txt | 5 +++-- tox.ini | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 otc_metadata/data/documents/ed-sustainability.yaml diff --git a/otc_metadata/data/documents/ed-sustainability.yaml b/otc_metadata/data/documents/ed-sustainability.yaml new file mode 100644 index 0000000..8b1950a --- /dev/null +++ b/otc_metadata/data/documents/ed-sustainability.yaml @@ -0,0 +1,11 @@ +--- +link: /enterprise-dashboard/sustainability/ +rst_location: doc/sustainability/source +service_type: ed +title: Sustainability +type: sustainability +cloud_environments: + - name: eu_de + visibility: hidden + pdf_visibility: hidden + pdf_enabled: true diff --git a/test-requirements.txt b/test-requirements.txt index 8a2bd6e..e38b371 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -2,6 +2,7 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -stestr>=2.0.0 # Apache-2.0 -testtools>=2.2.0 # MIT +pytest +pytest-cov flake8 +pyyaml diff --git a/tox.ini b/tox.ini index 74aa87e..f494a78 100644 --- a/tox.ini +++ b/tox.ini @@ -9,7 +9,7 @@ usedevelop = True setenv = PYTHONWARNINGS=default::DeprecationWarning deps = -r{toxinidir}/test-requirements.txt -commands = stestr run {posargs} +commands = pytest {posargs} [testenv:pep8] commands = flake8 {posargs}