3302 - Make Secret ARN persistent
This commit is contained in:
parent
ce60e9e3b8
commit
369f6bbfc9
3 changed files with 154 additions and 163 deletions
|
|
@ -439,8 +439,9 @@ def test_describe_secret_with_arn():
|
|||
secret_description = conn.describe_secret(SecretId=results["ARN"])
|
||||
|
||||
assert secret_description # Returned dict is not empty
|
||||
assert secret_description["Name"] == ("test-secret")
|
||||
assert secret_description["ARN"] != results["ARN"]
|
||||
secret_description["Name"].should.equal("test-secret")
|
||||
secret_description["ARN"].should.equal(results["ARN"])
|
||||
conn.list_secrets()["SecretList"][0]["ARN"].should.equal(results["ARN"])
|
||||
|
||||
|
||||
@mock_secretsmanager
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue