Fix test keystone.tests.unit.test_token_bind.BindTest

[token] enforce_token_bind option was deprecated for removal, and
the 'bind' option doesn't enforce a set of choices. I think the better
option here would be to remove the choices field and let the backend
enforce correctness.

Partial-Bug: #1686921
Change-Id: If0a537237a477303c0ce84945d83ce440f4d7812
This commit is contained in:
ChangBo Guo(gcb) 2017-04-30 21:08:25 +08:00
parent e18923daa1
commit def28347e9
1 changed files with 0 additions and 1 deletions

View File

@ -30,7 +30,6 @@ enforced according to the `[token] enforce_token_bind` option.
enforce_token_bind = cfg.StrOpt(
'enforce_token_bind',
default='permissive',
choices=['disabled', 'permissive', 'strict', 'required'],
deprecated_since=versionutils.deprecated.PIKE,
deprecated_for_removal=True,
help=utils.fmt("""