diff options
| author | Dean Troyer <dtroyer@gmail.com> | 2015-05-01 12:25:58 -0500 |
|---|---|---|
| committer | Dean Troyer <dtroyer@gmail.com> | 2015-05-28 18:01:49 -0500 |
| commit | 2c4b87869be7afb26d6190bb4fd3301eb4061604 (patch) | |
| tree | d51c6415d43733e3cde77299497497111328dad4 /openstackclient/shell.py | |
| parent | 211c14c638b9bf393932be42d4f04a4dd12a84bc (diff) | |
| download | python-openstackclient-2c4b87869be7afb26d6190bb4fd3301eb4061604.tar.gz | |
Add cli tests for --verify and friends
The tests that will change after the verify-always-true bug is fixed
are currently commented out. The commented asserts show where we
want to go.
Also fixes --verify parser value
Change-Id: I891e3ead5fc3da3ed2ecba5d2befd9e910778655
Diffstat (limited to 'openstackclient/shell.py')
| -rw-r--r-- | openstackclient/shell.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openstackclient/shell.py b/openstackclient/shell.py index da985cbc..86d3fe3a 100644 --- a/openstackclient/shell.py +++ b/openstackclient/shell.py @@ -187,14 +187,14 @@ class OpenStackShell(app.App): verify_group = parser.add_mutually_exclusive_group() verify_group.add_argument( '--verify', + action='store_true', default=None, - action='store_false', help='Verify server certificate (default)', ) verify_group.add_argument( '--insecure', - default=None, action='store_true', + default=None, help='Disable server certificate verification', ) parser.add_argument( |
