openstack-python-openstackc.../openstackclient/tests
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
..
api osc-lib: exceptions 2016-06-13 10:50:01 -05:00
common Do not prompt for scope options with default scoped tokens 2016-06-17 12:37:15 -04:00
compute Merge "Move server image create command to its own resource file." 2016-06-16 13:05:18 +00:00
identity Make set/unset command in identity and image pass normally when nothing specified 2016-06-17 04:20:28 +00:00
image Merge "Make set/unset command in identity and image pass normally when nothing specified" 2016-06-17 06:24:35 +00:00
network Support bulk deletion for delete commands in networkv2 2016-06-16 12:46:32 +00:00
object Fixed a bunch of spacing 2016-02-23 10:38:58 -06:00
volume Standardize logger usage in volume 2016-06-14 16:37:57 -05:00
__init__.py Remove copyright from empty files 2014-01-20 17:28:13 +04:00
fakes.py Moving authentication from keystoneclient to keystoneauth 2016-06-09 18:00:40 +02:00
test_shell.py Fix foundation copyrights 2016-06-14 09:49:28 -05:00
utils.py Add network segment command object 2016-05-27 12:58:25 -05:00