Enable py3 for credential tests
Enable python3 testing for credential tests. Change-Id: I8827b51f17ff547a8ab734a9f8fcf7b30d1cbddf
This commit is contained in:
parent
21b98dca0a
commit
e518535bd3
@ -49,7 +49,8 @@ class CredentialV3(controller.V3Controller):
|
||||
raise exception.ValidationError(attribute='access',
|
||||
target='blob')
|
||||
ret_ref = ref.copy()
|
||||
ret_ref['id'] = hashlib.sha256(blob['access']).hexdigest()
|
||||
ret_ref['id'] = hashlib.sha256(
|
||||
blob['access'].encode('utf8')).hexdigest()
|
||||
# Update the blob with the trust_id, so credentials created
|
||||
# with a trust scoped token will result in trust scoped
|
||||
# tokens when authentication via ec2tokens happens
|
||||
|
@ -1,4 +1,3 @@
|
||||
keystone.tests.unit.test_v3_auth
|
||||
keystone.tests.unit.test_v3_credential
|
||||
keystone.tests.unit.test_v3_oauth1
|
||||
keystone.tests.unit.token.test_fernet_provider
|
||||
|
Loading…
x
Reference in New Issue
Block a user