Remove lxml from requirements

Module lxml seems to be unused in oslo, so we removed it from
requirements.txt

Change-Id: I68627f9d430f184a2daf4e8e4623d0d679ddbce1
py3kcompat: Add unquote

Add unquote for python-keystoneclient

Change-Id: Id8d2054cac619f0e8ec5a68563e2a6a8f4334a5c
Signed-off-by: Chuck Short <chuck.short@canonical.com>
excutils: replace unicode by six.u

This makes it more Python 3 compatible.

Change-Id: If640e551905836124657c79ab624e5717a0033a6
Remove underscore tests.init hack

This seems not needed anymore as tests pass without it, and it's not
Python 3 comptaible.

Change-Id: I93d161ea0b956b8e9560275453347a33dfeccf7c
Using NestedTempfile in new BaseTestCase class

Blueprint: common-unit-tests
Change-Id: I3f2c2f93f3c04a5487260b33f6b78e31c1e4a8d6
Remove useless unit test codes in test_policy

After some bug fixes patch merged, some unit test codes are
no longer valid, this patch clean those useless unit test
codes.

Related commits
3626b6db91ce1e897d1993fb4e13ac4237d04b7f
e4ac367561b3811a9cd94e51accdf8045b7d6adc

Fixes bug #1204563

Change-Id: I592d8cd8ac0b4e54d82e349a7dec6fa98c31a92f
config.generator: allow extra modules importing

In Ceilometer we'd like to include the config values from
keystoneclient.middleware.auth_token in our default configuration
sample. This patch adds the ability to do so via an environment
variable.

Partial-Bug: #1177443

Change-Id: Ic194219ca7877a9046852a4f20ebc0a4037a970d
Changed header from LLC to Foundation based on trademark policies

Change-Id: I0326169cb2eac505a4c39240eb448c546742f8f1
Fixes: Bug 1214176
Don't need to init testr in run_tests.sh

In run_tests.sh, function init_testr will initialize testr if the
directory .testrepository is not existed. Actually, testr will do
the check before run the test:

In Python package testrepository,
setuptools_command.py:Testr.run

68 def run(self):
69 """Set up testr repo, then run testr"""
70     if not os.path.isdir(".testrepository"):
71         self._run_testr("init")

So, init_testr can be removed safely.

Fixes Bug #1222688
Change-Id: I51e73efe4e9b80bbf0159a5bce0db81fc049b9ce
Merge "py3kcompat: Add unquote"
Fix os.getlogin() problem with no tty

Catch OSError(s) from  os.getlogin() and fall back to looking at
environment variables to figure out the user's name. The OSError
is thrown where there is no tty for the python process when
os.getlogin() is called.

Fixes LP: 1221491

Change-Id: Id6634921cdf0deb77cf32a5b9101ec475946aa81
Merge "Remove useless unit test codes in test_policy"
Merge "Fix os.getlogin() problem with no tty"
Translate all substitution elements of a Message object

Some Messages are created with further Message object substitutions.
E.g.:

    msg = _('Message 1: %(msg_2)s') % {'msg_2': _('Message 2')}

The problem is that we were only translating the base Message but not
the Message substitutions within, thus in those cases Messages were only
being partially translated.

The fix sets the locale property for all Message substitution parameters
upon setting it on the base Message.

Fixes bug: #1221808

Change-Id: Ic3119df23a090cfaa160c1461e955f0af55fe1cf
Merge "Remove underscore tests.init hack"
Merge "Don't need to init testr in run_tests.sh"
Merge "excutils: replace unicode by six.u"
Merge "Remove lxml from requirements"
Fix misused assertTrue in unit tests

Refactored unit tests to use assertEqual instead of assertTrue
where needed.

Fixes bug #1226374

Change-Id: I87308eb7871a55ef0fc49ca466311ed202b62d47
Keystone user can't perform revoke_token

To Fix keystone Bug: #1186059
and
Bug: #1221889

Change-Id: Iefc2d87863f386ed3fe3263e4e4feb192420b5b5