fix for an expiration test.
This commit is contained in:
parent
383b0c1c36
commit
b86b464210
@ -51,7 +51,7 @@ def test_get_credentials_for_identity():
|
|||||||
conn = boto3.client('cognito-identity', 'us-west-2')
|
conn = boto3.client('cognito-identity', 'us-west-2')
|
||||||
result = conn.get_credentials_for_identity(IdentityId='12345')
|
result = conn.get_credentials_for_identity(IdentityId='12345')
|
||||||
|
|
||||||
assert result.get('Expiration') > 0 or result.get('ResponseMetadata').get('HTTPStatusCode') == 200
|
assert result.get('Expiration', 0) > 0 or result.get('ResponseMetadata').get('HTTPStatusCode') == 200
|
||||||
assert result.get('IdentityId') == '12345' or result.get('ResponseMetadata').get('HTTPStatusCode') == 200
|
assert result.get('IdentityId') == '12345' or result.get('ResponseMetadata').get('HTTPStatusCode') == 200
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user