diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-03-19 06:30:11 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-03-19 06:30:11 +0000 |
| commit | 31d4271c74f4334c8c37de8b6c5fd2634084bb76 (patch) | |
| tree | 8de88113fd0e248084b02341996ca969054673f1 /dev-python/python-cinderclient | |
| parent | b122a4c89ce5a5ed415047f73079ed8fe92d13b8 (diff) | |
| download | baldeagleos-repo-31d4271c74f4334c8c37de8b6c5fd2634084bb76.tar.gz baldeagleos-repo-31d4271c74f4334c8c37de8b6c5fd2634084bb76.tar.xz baldeagleos-repo-31d4271c74f4334c8c37de8b6c5fd2634084bb76.zip | |
Adding metadata
Diffstat (limited to 'dev-python/python-cinderclient')
| -rw-r--r-- | dev-python/python-cinderclient/files/python-cinderclient-9.7.0-py313.patch | 22 | ||||
| -rw-r--r-- | dev-python/python-cinderclient/python-cinderclient-9.7.0.ebuild | 5 |
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-python/python-cinderclient/files/python-cinderclient-9.7.0-py313.patch b/dev-python/python-cinderclient/files/python-cinderclient-9.7.0-py313.patch new file mode 100644 index 000000000000..0cfc8df62cd5 --- /dev/null +++ b/dev-python/python-cinderclient/files/python-cinderclient-9.7.0-py313.patch @@ -0,0 +1,22 @@ +diff --git a/cinderclient/tests/unit/test_shell.py b/cinderclient/tests/unit/test_shell.py +index c5d64af..6b67a8e 100644 +--- a/cinderclient/tests/unit/test_shell.py ++++ b/cinderclient/tests/unit/test_shell.py +@@ -437,12 +437,14 @@ + expected_help = ("help message (Supported by API versions " + "%(start)s - %(end)s)") % { + 'start': '3.0', 'end': '3.3'} +- expected_desc = ("help message\n\n " +- "This will not show up in help message\n ") ++ self.assertIn('help message', ++ mock_add_parser.call_args_list[0][1]['description']) ++ self.assertIn('This will not show up in help message', ++ mock_add_parser.call_args_list[0][1]['description']) + mock_add_parser.assert_any_call( + 'fake-action', + help=expected_help, +- description=expected_desc, ++ description=mock.ANY, + add_help=False, + formatter_class=cinderclient.shell.OpenStackHelpFormatter) + diff --git a/dev-python/python-cinderclient/python-cinderclient-9.7.0.ebuild b/dev-python/python-cinderclient/python-cinderclient-9.7.0.ebuild index 6aa843002894..4c5d4bb4ec82 100644 --- a/dev-python/python-cinderclient/python-cinderclient-9.7.0.ebuild +++ b/dev-python/python-cinderclient/python-cinderclient-9.7.0.ebuild @@ -41,6 +41,11 @@ BDEPEND=" distutils_enable_tests unittest +PATCHES=( + # https://review.opendev.org/c/openstack/python-cinderclient/+/930218/1 + "${FILESDIR}/${P}-py313.patch" +) + python_test() { # functional tests require cloud instance access eunittest -b cinderclient/tests/unit |
