Fixes docstrings to be more accurate.

These docstrings were modified because they had the wrong path for the
config file and incorrect testing instructions. Since both files were
saying essentially the same thing it made sense to fix other parts of
the docstring to be similar.

Change-Id: Ibf48a369bbbe2c45dcf1d68305c83afe54bda7ff
Extract Assignment tests from IdentityTestCase

Extracts tests for domains, projects, roles and
grants/role assignments from IdentityTestCase
and put them in AssignmentTestCase.

Change-Id: I0e426fa1803e144b1c7a3eb503b212c6469e67c4
Closes-Bug: 1367778
Remove unused ec2 driver option

Remove the unused ec2 driver option from the config. This option
is unused since the credential backend is used for the ec2 contrib
extension.

Change-Id: I5385a086210e415a14b0ed1605c9ded50a280ad2
Add max-complexity to pep8 for Keystone

The current highest complexity is 23, set the maximum complexity
for flake8 to 24. This should help to keep code simple and
maintainable. It should be possible to reduce the maximum
complexity to something closer to 20 with relatively small efforts.

keystone.common.sql.migrate_repo.versions.039_grant_to_assignment:
    'downgrade_assignment_table' is complexity of 21

keystone.token.controllers:
    'Auth._authenticate_token' is complexity of 23

Change-Id: I47cb13bac97e9144ef004977942b9eaa50a17b39
Add xmlsec1 dependency comments

Right now, Keystone IdP uses xmlsec1 command line
tool to sign the generated SAML assertions:

https://github.com/openstack/keystone/blob/master/keystone/contrib/federation/idp.py#L369

If not installed, the command will fail.

Change-Id: I9d846c4d5913b7b711f540989c243371e1da2181
Use newer python-ldap paging control API

The API for using the LDAP simple paged results control changed
between python-ldap version 2.3 and 2.4. Our current implementation
fails with an AttributeError when trying to use paging with version
2.4 of python-ldap.

This patch detects the capabilities of the underlying python-ldap
version and uses the newer API in versions of python-ldap that have
removed the older API.

Change-Id: I2986e12daea3edf50f299af5927d2a05278e82f7
Closes-bug: #1381768
Merge "Use newer python-ldap paging control API"
Correct the code path of implementation for the abstract method

Change-Id: Ib32c096b490f98259b5d1421df97549e506e501f
Merge "Remove unused ec2 driver option"
Merge "Add max-complexity to pep8 for Keystone"
Merge "Extract Assignment tests from IdentityTestCase"
Merge "Fixes docstrings to be more accurate."
Merge "Add xmlsec1 dependency comments"
Merge "Correct the code path of implementation for the abstract method"
Imported Translations from Transifex

For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I8c1a5a6ae63520ee58718fea80bf078d43fc570b
Updated from global requirements

Change-Id: I27e51a831700a6a1f46b33863ed1001f1edbbff2
Use correct name of oslo debugger script

As of oslotest 1.2.0 the oslo debugger script dropped the .sh
extension. This patch corrects the use the script name in tox.ini

Change-Id: If36e727332af82c8a45af7306f55753d72983623
Move unit tests from test_backend_ldap

There were a couple of unit tests in test_backend_ldap for
functions in keystone.common.ldap. Unit tests should be in
keystone.tests.unit.common.test_ldap because they don't need to
run multiple times for different configurations of the ldap
backend.

Change-Id: Ifcfd2c5610eb6870e6876af671a3fbdd779c659b
Merge "Imported Translations from Transifex"
PKI and PKIZ tokens unnecessary whitespace removed

In the race to produce smaller PKI tokens, we've overlooked
that we can produce smaller JSON bodies by removing all whitespace
between structural characters.

This patch offers a solution by overloading
item_separator and key_separator in class SmarterEncoder
used to produce json response.

Change-Id: Id7fcc82a28359e85feac57f9469f2bcd9192ee50
Closes-Bug: #1348262