python-magnumclient/magnumclient
Felipe Reyes 972aff0f32 Fix test_help_on_subcommand on Python 3.10
Python 3.10 changed the way the optional arguments defined in argparse
are listed in the help output, the title was changed from "Optional
arguments" to "Options".

This checks the python version where the unit test is being executed and
uses the string that corresponds.

Story: 2009946
Task: 44858
Change-Id: Ibee09bf76399849f7da987c4661fa1945d27afb7
2022-03-25 09:49:14 -03:00
..
common Fix failing to parse json error msg 2021-03-30 13:59:07 +00:00
osc Merge "Fix master_lb_enabled for cluster creation" 2021-04-08 08:30:56 +00:00
tests Fix test_help_on_subcommand on Python 3.10 2022-03-25 09:49:14 -03:00
v1 Add CT tags argument and field to client 2021-02-05 09:14:54 +00:00
__init__.py Added project required files. 2014-11-21 08:33:53 +09:00
client.py Add unversioned client constructor 2015-11-10 08:32:06 +00:00
exceptions.py Update hacking for Python3 2020-03-28 15:54:06 +01:00
i18n.py Remove log translations 2017-07-28 09:50:08 +00:00
shell.py Stop to use the __future__ module. 2020-06-02 20:49:16 +02:00
version.py Skeleton for the cli client 2014-11-21 15:22:41 -08:00