Remove duplicated asserts

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

Change-Id: I4a7419845e3aa16dfe429cb839eb7c0a87bd7e96
bp: non-persistent-tokens
KeyError instead of exception.KeyError

KeyError is a built-in error. Not part of Keystone exception module.

Change-Id: Ia3723c71fcd80773c2ac6f49ec7a7ab8bed602ad
closes-bug: #1349955
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
Merge "KeyError instead of exception.KeyError"
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"