Remove duplicated asserts

Remove a couple of duplicated asserts from the test case for the
token model.

Change-Id: I4a7419845e3aa16dfe429cb839eb7c0a87bd7e96
bp: non-persistent-tokens
Do not consume trust uses when create token fails

Currently, remaining trust uses are consumed even when create token
fails. We should only consume trust uses when successfully creating
a token.

Change-Id: I55a726250312fa81ed9556dfd530e96f72548930
Closes-Bug: #1335037
Use config fixture from oslo.config

With the release of oslo.config 1.4.0.0a1, oslo.config
contains the config fixture. Keystone was using the config
fixture in oslo-incubator's fixture module. With this change
Keystone is using the config fixture in oslo.config

Change-Id: Id03efdfbe8893c48a9ad65f0cf59e1dbae03dc47
Add filters to the collections 'self' link

The v3 collections wrapper automatically adds the collections links
(self, next, prev) to facilitate pagination. However, the 'self' url
link only contains the base url, without any specified filters.

This fix adds specified filters to the collections 'self' link.

To test this fix validations of list responses in test_v3_identity.py
were updated with the optional 'resource_url' parameter which triggers
the 'self' link validation.

Closes-Bug: #1195037.

Change-Id: Iff1bcf21ea4f716ea0f412b86b4c8e9126007b7b
Merge "Use config fixture from oslo.config"
Merge "Remove duplicated asserts"
Merge "Add filters to the collections 'self' link"
Merge "Do not consume trust uses when create token fails"