Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for SLES:ppc64le
home:suse-cloud-ci:rpm-packaging-sles15-Master-84d9cb56b65840d62ddc05ec8d57ec83eb9a82ac
python-oslo.reports
0001-Handle-shell_completion-option-in-test-sui...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Handle-shell_completion-option-in-test-suite.patch of Package python-oslo.reports
From a25f36fa6620ee3f90a37599e41dac311a49c452 Mon Sep 17 00:00:00 2001 From: Joel Capitao <jcapitao@redhat.com> Date: Mon, 2 Sep 2024 16:13:17 +0200 Subject: [PATCH] Handle shell_completion option in test suite Since [1], oslo.config has added option to generate shell completion. This patch adapts unit tests to handle it. [1] https://review.opendev.org/c/openstack/oslo.config/+/906478 Change-Id: I167d7e552194b87edff8d6b6de9e721e091bfd36 --- oslo_reports/tests/test_openstack_generators.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/oslo_reports/tests/test_openstack_generators.py b/oslo_reports/tests/test_openstack_generators.py index 3cb0378..9bda519 100644 --- a/oslo_reports/tests/test_openstack_generators.py +++ b/oslo_reports/tests/test_openstack_generators.py @@ -112,7 +112,8 @@ class TestOpenstackGenerators(base.BaseTestCase): 'default: \n' '%s' ' crackers = triscuit\n' - ' secrets = ***') % config_source_line + ' secrets = ***\n' + ' shell_completion = None') % config_source_line self.assertEqual(target_str, str(model)) def test_package_report_generator(self): -- 2.46.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor