openstack-python-openstackc.../openstackclient/tests/common
Dolph Mathews fe0c8e955b Do not prompt for scope options with default scoped tokens
This changes the scope validation to occur after a token has already
been created.

Previous flow:

1. Validate authentication options.
2. Validate authorization options if the command requires a scope.
3. Create a token (using authentication + authorization options)
4. Run command.

This means that scope was being checked, even if a default scope was
applied in step 3 by Keystone.

New flow:

1. Validate authentication options.
2. Create token (using authentication + authorization options)
3  Validate authorization options if the command requires a scope and
   the token is not scoped.
4. Run command.

Change-Id: Idae368a11249f425b14b891fc68b4176e2b3e981
Closes-Bug: 1592062
2016-06-17 12:37:15 -04:00
..
__init__.py Remove copyright from empty files 2014-01-20 17:28:13 +04:00
test_availability_zone.py Fix DisplayCommandBase comments for cliff Lister subclass tests 2016-02-09 20:28:18 +08:00
test_clientmanager.py Do not prompt for scope options with default scoped tokens 2016-06-17 12:37:15 -04:00
test_command.py Finish osc-lib transition for command.py 2016-06-15 22:50:43 +00:00
test_commandmanager.py Fixed a bunch of spacing 2016-02-23 10:38:58 -06:00
test_configuration.py Changed the abstract columns and datalists from test cases of common and Identity 2016-01-12 17:25:33 +05:30
test_extension.py Update unit test test_extension with fake class 2016-06-07 16:17:42 +08:00
test_logs.py osc-lib: logs 2016-06-13 10:55:44 -05:00
test_module.py Fixed command list 2016-03-09 16:00:39 +00:00
test_parseractions.py osc-lib: parseractions 2016-06-13 10:55:44 -05:00
test_quota.py Add network support for "quota set" 2016-05-19 20:42:59 +08:00