Previously, the assertValidDomainScopedTokenResponse method only ensured
specific attributes were in the token response. These checks didn't ensure
that the token scope never grew.
This change makes it so that the assertion will fail if extra attributes are
added to the token response. This should help us be more aware of changes that
have token response data creep by building the check into the tests.
Reviewed: https:/ /review. openstack. org/253671 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=8a5343c8c21 9b011d122d3d895 1ad541358887be
Committed: https:/
Submitter: Jenkins
Branch: master
commit 8a5343c8c219b01 1d122d3d8951ad5 41358887be
Author: Lance Bragstad <email address hidden>
Date: Mon Dec 7 22:21:36 2015 +0000
Add checks for domain scoped data creep
Previously, the assertValidDoma inScopedTokenRe sponse method only ensured
specific attributes were in the token response. These checks didn't ensure
that the token scope never grew.
This change makes it so that the assertion will fail if extra attributes are
added to the token response. This should help us be more aware of changes that
have token response data creep by building the check into the tests.
Change-Id: I43c86837f465f8 13da0985033a5af 9d15d76eddc
Partial-Bug: 1224273